Skip to content

Commit

Permalink
Draft: Fix max value of Scale multiplier in ui files
Browse files Browse the repository at this point in the history
Without this max value the spinbox stops at 99.99. The max value is the same as in preferences-drafttexts.ui.
  • Loading branch information
Roy-043 authored and chennes committed Aug 31, 2024
1 parent cc12721 commit ab741cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@
<string>The annotation scale multiplier is the inverse of the scale set in the
Annotation scale widget. If the scale is 1:100 the multiplier is 100.</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
</widget>
</item>
<item row="4" column="0">
Expand Down
6 changes: 6 additions & 0 deletions src/Mod/Draft/Resources/ui/dialog_AnnotationStyleEditor.ui
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,12 @@
<property name="toolTip">
<string>A multiplier factor that affects the size of texts and markers</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
</widget>
</item>
<item row="1" column="0">
Expand Down

0 comments on commit ab741cd

Please sign in to comment.