Skip to content

Commit

Permalink
[gui] Add tooltip for scale dependent visibility widgets (labeling) t…
Browse files Browse the repository at this point in the history
…o indicate that min scale is exclusive and max scale is inclusive
  • Loading branch information
gacarrillor authored and nyalldawson committed Oct 9, 2024
1 parent 018f018 commit 0e670f0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/ui/qgstextformatwidgetbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6045,7 +6045,8 @@ font-style: italic;</string>
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip">
<string>Maximum scale, i.e. most &quot;zoomed in&quot;.</string>
<string>Maximum scale, i.e. most &quot;zoomed in&quot;.
This limit is inclusive, that means the label will be displayed on this scale.</string>
</property>
</widget>
</item>
Expand All @@ -6062,7 +6063,8 @@ font-style: italic;</string>
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip">
<string>Minimum scale, i.e. most &quot;zoomed out&quot;.</string>
<string>Minimum scale, i.e. most &quot;zoomed out&quot;.
This limit is exclusive, that means the label will not be displayed on this scale.</string>
</property>
</widget>
</item>
Expand All @@ -6076,7 +6078,8 @@ font-style: italic;</string>
<item row="0" column="0">
<widget class="QLabel" name="mLabelMinScale">
<property name="toolTip">
<string>Minimum scale, i.e. most &quot;zoomed out&quot;.</string>
<string>Minimum scale, i.e. most &quot;zoomed out&quot;.
This limit is exclusive, that means the label will not be displayed on this scale.</string>
</property>
<property name="text">
<string/>
Expand All @@ -6089,7 +6092,8 @@ font-style: italic;</string>
<item row="1" column="0">
<widget class="QLabel" name="mLabelMaxScale">
<property name="toolTip">
<string>Maximum scale, i.e. most &quot;zoomed in&quot;.</string>
<string>Maximum scale, i.e. most &quot;zoomed in&quot;.
This limit is inclusive, that means the label will be displayed on this scale.</string>
</property>
<property name="text">
<string/>
Expand Down

0 comments on commit 0e670f0

Please sign in to comment.