From e5836bad23f33aa66321374be21d9414695c9ed9 Mon Sep 17 00:00:00 2001 From: J-Dunn Date: Mon, 17 Apr 2023 10:12:24 +0200 Subject: [PATCH] Path : mediate JobEdit tool name truncation reducing feed-rate column headers to V and H to reduce truncation due to (Qt.ElideMode) bugginess. --- src/Mod/Path/Path/Main/Gui/Job.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Path/Path/Main/Gui/Job.py b/src/Mod/Path/Path/Main/Gui/Job.py index 1c83bbfc7c..7d20b6231c 100644 --- a/src/Mod/Path/Path/Main/Gui/Job.py +++ b/src/Mod/Path/Path/Main/Gui/Job.py @@ -621,13 +621,13 @@ class TaskPanel: vUnit = FreeCAD.Units.Quantity(1, FreeCAD.Units.Velocity).getUserPreferred()[2] self.form.toolControllerList.horizontalHeaderItem(1).setText("#") self.form.toolControllerList.horizontalHeaderItem(2).setText( - translate("Path", "Feed(H)") + translate("Path", "H") ) - self.form.toolControllerList.horizontalHeaderItem(2).setToolTip(vUnit) + self.form.toolControllerList.horizontalHeaderItem(2).setToolTip("feedrate "+vUnit) self.form.toolControllerList.horizontalHeaderItem(3).setText( - translate("Path", "Feed(V)") + translate("Path", "V") ) - self.form.toolControllerList.horizontalHeaderItem(3).setToolTip(vUnit) + self.form.toolControllerList.horizontalHeaderItem(3).setToolTip("feedrate "+vUnit) self.form.toolControllerList.horizontalHeader().setResizeMode( 0, QtGui.QHeaderView.Stretch )