Skip to content

Commit

Permalink
ui: remove size constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 4, 2019
1 parent 496caea commit 5b94889
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
6 changes: 6 additions & 0 deletions shapeout2/gui/matrix_dataset.ui
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@
</item>
<item>
<widget class="QPushButton" name="pushButton_toggle">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>toggle</string>
</property>
Expand Down
2 changes: 2 additions & 0 deletions shapeout2/gui/matrix_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ def update_content(self):
self.label.setToolTip(self.title)
if len(self.title) > 8:
title = self.title[:5]+"..."
else:
title = self.title
self.label.setText(title)
20 changes: 19 additions & 1 deletion shapeout2/gui/matrix_filter.ui
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</property>
<property name="maximumSize">
<size>
<width>70</width>
<width>160</width>
<height>80</height>
</size>
</property>
Expand Down Expand Up @@ -107,13 +107,25 @@
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>modify</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_toggle">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>toggle</string>
</property>
Expand Down Expand Up @@ -170,6 +182,12 @@
</item>
<item>
<widget class="QPushButton" name="pushButton_opt">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>50</width>
Expand Down

0 comments on commit 5b94889

Please sign in to comment.