Skip to content

Commit

Permalink
fix: SizeFactor icon (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs authored Oct 21, 2024
1 parent ac46289 commit 90a4c99
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 46 deletions.
100 changes: 55 additions & 45 deletions src/gui/configurationTab.ui
Original file line number Diff line number Diff line change
Expand Up @@ -386,18 +386,20 @@
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="CurrentBoxToolButton">
<property name="enabled">
<bool>false</bool>
<widget class="QLabel" name="SizeFactorIcon_5">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>...</string>
<string/>
</property>
<property name="icon">
<iconset resource="main.qrc">
<normaloff>:/general/icons/configuration.svg</normaloff>:/general/icons/configuration.svg</iconset>
<property name="pixmap">
<pixmap resource="main.qrc">:/general/icons/configuration.svg</pixmap>
</property>
<property name="autoRaise">
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
Expand Down Expand Up @@ -452,24 +454,20 @@
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="DensityToolButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="main.qrc">
<normaloff>:/general/icons/density.svg</normaloff>:/general/icons/density.svg</iconset>
</property>
<property name="iconSize">
<widget class="QLabel" name="SizeFactorIcon_4">
<property name="maximumSize">
<size>
<width>14</width>
<height>14</height>
</size>
</property>
<property name="autoRaise">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="main.qrc">:/general/icons/density.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
Expand Down Expand Up @@ -504,6 +502,12 @@
</item>
<item>
<widget class="QFrame" name="SizeFactorFrame">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Applied size factor</string>
</property>
Expand All @@ -527,18 +531,20 @@
<number>4</number>
</property>
<item>
<widget class="QToolButton" name="SizeFactorToolButton">
<property name="enabled">
<bool>false</bool>
<widget class="QLabel" name="SizeFactorIcon">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>...</string>
<string/>
</property>
<property name="icon">
<iconset resource="main.qrc">
<normaloff>:/nodes/icons/nodes/sizeFactor.svg</normaloff>:/nodes/icons/nodes/sizeFactor.svg</iconset>
<property name="pixmap">
<pixmap resource="main.qrc">:/nodes/icons/nodes/SizeFactor.svg</pixmap>
</property>
<property name="autoRaise">
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
Expand Down Expand Up @@ -603,18 +609,20 @@
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="MoleculePopulationToolButton">
<property name="enabled">
<bool>false</bool>
<widget class="QLabel" name="SizeFactorIcon_2">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>...</string>
<string/>
</property>
<property name="icon">
<iconset resource="main.qrc">
<normaloff>:/general/icons/species.svg</normaloff>:/general/icons/species.svg</iconset>
<property name="pixmap">
<pixmap resource="main.qrc">:/general/icons/species.svg</pixmap>
</property>
<property name="autoRaise">
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
Expand Down Expand Up @@ -663,18 +671,20 @@
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="AtomPopulationToolButton">
<property name="enabled">
<bool>false</bool>
<widget class="QLabel" name="SizeFactorIcon_3">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>...</string>
<string/>
</property>
<property name="icon">
<iconset resource="main.qrc">
<normaloff>:/general/icons/spheres_on.svg</normaloff>:/general/icons/spheres_on.svg</iconset>
<property name="pixmap">
<pixmap resource="main.qrc">:/general/icons/spheres_on.svg</pixmap>
</property>
<property name="autoRaise">
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
Expand Down
2 changes: 1 addition & 1 deletion src/gui/icons/nodes/SizeFactor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 90a4c99

Please sign in to comment.