Skip to content

Commit

Permalink
Use icon instead of text for Add and Remove buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed May 11, 2018
1 parent 3d03cfb commit cdc0878
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions src/ui/qgsdatadefinedsizelegendwidget.ui
Expand Up @@ -77,15 +77,29 @@
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QToolButton" name="btnAddClass">
<property name="toolTip">
<string>Add a class</string>
</property>
<property name="text">
<string>Add</string>
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnRemoveClass">
<property name="toolTip">
<string>Remove selected class</string>
</property>
<property name="text">
<string>Remove</string>
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/symbologyRemove.svg</normaloff>:/images/themes/default/symbologyRemove.svg</iconset>
</property>
</widget>
</item>
Expand Down Expand Up @@ -174,6 +188,8 @@
<tabstop>cboAlignSymbols</tabstop>
<tabstop>viewLayerTree</tabstop>
</tabstops>
<resources/>
<resources>
<include location="../../images/images.qrc"/>
</resources>
<connections/>
</ui>

0 comments on commit cdc0878

Please sign in to comment.