Skip to content

Commit

Permalink
Fix the height of a few widgets
Browse files Browse the repository at this point in the history
This is so that on Mac with the default settings on most computers,
you can see the "OK" and "Cancel" buttons.

Otherwise, they are below the screen.

Signed-off-by: Patrick Avery <[email protected]>
  • Loading branch information
psavery committed Jul 30, 2023
1 parent e898b26 commit da9c011
Showing 1 changed file with 28 additions and 10 deletions.
38 changes: 28 additions & 10 deletions hexrd/ui/resources/ui/ome_maps_viewer_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@
</item>
<item row="8" column="1" colspan="2">
<widget class="QGroupBox" name="eta_group_box">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>100</height>
</size>
</property>
<property name="title">
<string>Eta</string>
</property>
Expand Down Expand Up @@ -260,6 +266,12 @@
</item>
<item row="9" column="1" colspan="2">
<widget class="QGroupBox" name="clustering_group_box">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>125</height>
</size>
</property>
<property name="title">
<string>Clustering</string>
</property>
Expand Down Expand Up @@ -869,18 +881,14 @@
</layout>
</widget>
</item>
<item row="11" column="0" colspan="5">
<widget class="QDialogButtonBox" name="button_box">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="1" colspan="2">
<widget class="QGroupBox" name="omega_group_box">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>75</height>
</size>
</property>
<property name="title">
<string>Omega</string>
</property>
Expand Down Expand Up @@ -920,6 +928,16 @@
</layout>
</widget>
</item>
<item row="11" column="1" colspan="4">
<widget class="QDialogButtonBox" name="button_box">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
Expand Down

0 comments on commit da9c011

Please sign in to comment.