Skip to content

Commit

Permalink
Review existing tooltip and help text
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed May 4, 2020
1 parent a86413d commit 9ae70e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsproperty.cpp
Expand Up @@ -88,7 +88,7 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case ColorWithAlpha:
mTypes = DataTypeString;
mHelpText = QObject::tr( "string [<b>r,g,b,a</b>] as int 0-255 or #<b>AARRGGBB</b> as hex or <b>color</b> as color's name" );
mHelpText = QObject::tr( "string [<b>r,g,b,a</b>] as int 0-255 or #<b>RRGGBBAA</b> as hex or <b>color</b> as color's name" );
break;

case ColorNoAlpha:
Expand Down
6 changes: 0 additions & 6 deletions src/ui/qgsexpressionbuilder.ui
Expand Up @@ -438,19 +438,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Output preview is generated &lt;br&gt; using the first feature from the layer.</string>
</property>
<property name="text">
<string>Expected format:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblExpected">
<property name="toolTip">
<string>Output preview is generated &lt;br&gt; using the first feature from the layer.</string>
</property>
<property name="text">
<string>Help text</string>
</property>
Expand Down
3 changes: 3 additions & 0 deletions src/ui/qgsexpressionpreviewbase.ui
Expand Up @@ -74,6 +74,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Select the feature to use for the output preview</string>
</property>
<property name="text">
<string>Feature</string>
</property>
Expand Down

0 comments on commit 9ae70e3

Please sign in to comment.