From 51cd5e042ddba39abf37e57f278c0774fc952439 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Fri, 15 May 2020 22:55:36 -0500 Subject: [PATCH] Draft: fix button and icon spacing in AnnotationStyleEditor The maximum button size was too small to fit the icon together with the text, if the text size was large. Also added more tooltips to all widgets of the editor. --- .../ui/dialog_AnnotationStyleEditor.ui | 130 ++++++++++++++---- 1 file changed, 104 insertions(+), 26 deletions(-) diff --git a/src/Mod/Draft/Resources/ui/dialog_AnnotationStyleEditor.ui b/src/Mod/Draft/Resources/ui/dialog_AnnotationStyleEditor.ui index 01cf23af84..1a99f60ebd 100644 --- a/src/Mod/Draft/Resources/ui/dialog_AnnotationStyleEditor.ui +++ b/src/Mod/Draft/Resources/ui/dialog_AnnotationStyleEditor.ui @@ -23,7 +23,7 @@ - The name of your style. Existing style names can be edited + The name of your style. Existing style names can be edited. false @@ -45,9 +45,15 @@ false + + + 0 + 0 + + - 80 + 110 16777215 @@ -64,9 +70,15 @@ false + + + 0 + 0 + + - 80 + 110 16777215 @@ -96,9 +108,9 @@ 0 - -110 - 420 - 589 + 0 + 419 + 632 @@ -110,6 +122,9 @@ + + Font size in the system units + Font size @@ -117,6 +132,9 @@ + + Line spacing in system units + Line spacing @@ -124,6 +142,9 @@ + + The font to use for texts and dimensions + Font name @@ -138,15 +159,21 @@ - - + + Font size in the system units + + + 12.000000000000000 - - + + Line spacing in system units + + + 10.000000000000000 @@ -161,6 +188,9 @@ + + A multiplier factor that affects the size of texts and markers + Scale multiplier @@ -168,6 +198,9 @@ + + The number of decimals to show for dimension values + Decimals @@ -175,6 +208,9 @@ + + Specify a valid length unit like mm, m, in, ft, to force displaying the dimension value in this unit + Unit override @@ -182,6 +218,9 @@ + + If it is checked it will show the unit next to the dimension value + Show unit @@ -190,7 +229,7 @@ - A multiplier value that affects distances shown by dimensions + A multiplier factor that affects the size of texts and markers 4 @@ -203,24 +242,27 @@ - Forces dimensions to be shown in a specific unit + Specify a valid length unit like mm, m, in, ft, to force displaying the dimension value in this unit - The number of decimals to show on dimensions + The number of decimals to show for dimension values + + + 2 - Shows the units suffix on dimensions or not + If it is checked it will show the unit next to the dimension value - Qt::RightToLeft + Qt::LeftToRight @@ -238,6 +280,9 @@ + + The width of the dimension lines + Line width @@ -245,6 +290,9 @@ + + The distance that the extension lines are additionally extended beyond the dimension line + Extension overshoot @@ -252,6 +300,9 @@ + + The size of the dimension arrows or markers in system units + Arrow size @@ -259,6 +310,9 @@ + + If it is checked it will display the dimension line + Show lines @@ -266,6 +320,9 @@ + + The distance that the dimension line is additionally extended + Dimension overshoot @@ -273,6 +330,9 @@ + + The length of the extension lines + Extension lines @@ -280,6 +340,9 @@ + + The type of arrows or markers to use at the end of dimension lines + Arrow type @@ -287,6 +350,9 @@ + + The color of dimension lines, arrows and texts + Line / text color @@ -295,10 +361,10 @@ - Shows the dimension line or not + If it is checked it will display the dimension line - Qt::RightToLeft + Qt::LeftToRight @@ -338,7 +404,7 @@ - The typeof arrows to use for dimensions + The type of arrows or markers to use at the end of dimension lines @@ -359,29 +425,41 @@ - - + + The size of the dimension arrows or markers in system units + + + 5.000000000000000 - - + + The distance that the dimension line is additionally extended + + + 1.000000000000000 - - + + The length of the extension lines + + + 10.000000000000000 - - + + The distance that the extension lines are additionally extended beyond the dimension line + + + 1.000000000000000