From 5cc566bb985565e31913bc9b4191baa1b5b25300 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Wed, 28 Feb 2024 11:23:45 +0100 Subject: [PATCH] Sketcher: improve GUI texts for rectangles The texts for the modes were changed to match those of the line tool. --- src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h b/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h index dacbdbbec8..bed1e99ab8 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h @@ -1647,10 +1647,10 @@ template<> void DSHRectangleController::configureToolWidget() { if (!init) { // Code to be executed only upon initialisation - QStringList names = {QStringLiteral("Corner, length & width"), - QStringLiteral("Center, length & width"), + QStringList names = {QStringLiteral("Corner, width, height"), + QStringLiteral("Center, width, height"), QStringLiteral("3 corners"), - QStringLiteral("Center and 2 corners")}; + QStringLiteral("Center, 2 corners")}; toolWidget->setComboboxElements(WCombobox::FirstCombo, names); toolWidget->setCheckboxLabel( @@ -1669,7 +1669,7 @@ void DSHRectangleController::configureToolWidget() WCheckbox::SecondBox, QApplication::translate( "TaskSketcherTool_c2_rectangle", - "Create two rectangles, one in the other with a constant thickness.")); + "Create two rectangles with a constant offset.")); syncCheckboxToHandler(WCheckbox::SecondBox, handler->makeFrame); if (isConstructionMode()) {