Skip to content
Permalink
Browse files

Use icon instead of text for Add and Remove buttons

  • Loading branch information
DelazJ authored and nyalldawson committed May 11, 2018
1 parent 3d03cfb commit cdc08783468cc0ed0038733c46fa02a403fe4a3d
Showing with 19 additions and 3 deletions.
  1. +19 −3 src/ui/qgsdatadefinedsizelegendwidget.ui
@@ -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>
@@ -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.
You can’t perform that action at this time.