Skip to content

Commit

Permalink
Make sure the combo boxes don’t expand if component names are long
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed May 3, 2016
1 parent 69bc973 commit b629ecc
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
0.3 (unreleased)
----------------

- Make sure combo boxes don't expand if component names are long. [#135]

- Add icon for rotate view. [#128]

- Add back the fov=60. [#124]
Expand Down
6 changes: 5 additions & 1 deletion glue_vispy_viewers/isosurface/layer_style_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@
<widget class="QLineEdit" name="value_max"/>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="combo_attribute"/>
<widget class="QComboBox" name="combo_attribute">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down
18 changes: 15 additions & 3 deletions glue_vispy_viewers/scatter/layer_style_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="combo_size_attribute"/>
<widget class="QComboBox" name="combo_size_attribute">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="value_fixed_size"/>
Expand Down Expand Up @@ -209,7 +213,11 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="combo_cmap_attribute"/>
<widget class="QComboBox" name="combo_cmap_attribute">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
</property>
</widget>
</item>
<item>
<widget class="QColorBox" name="label_color">
Expand Down Expand Up @@ -273,7 +281,11 @@
<number>0</number>
</property>
<item>
<widget class="QColormapCombo" name="combo_cmap"/>
<widget class="QColormapCombo" name="combo_cmap">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down
6 changes: 5 additions & 1 deletion glue_vispy_viewers/volume/layer_style_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@
<widget class="QLineEdit" name="value_max"/>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="combo_attribute"/>
<widget class="QComboBox" name="combo_attribute">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QRadioButton" name="radio_subset_outline">
Expand Down

0 comments on commit b629ecc

Please sign in to comment.