diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-02-19 23:29:05 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-02-20 09:27:03 +0000 |
commit | 6e1bf3385402cf108db4f16905afb342784b0c23 (patch) | |
tree | 0d831e9e106b5df8971be69d1147fc80c294789b /ui/qt | |
parent | 3dddc52bb8202760bf3901ea52a888b8c24e1c69 (diff) |
Qt: Set maximumSize on AccordionFrame widget buttons
After switching to QPushButton for buttons in SearchFrame and GoToFrame
the widgets needs a maximum size to reduce the height of the frame.
Change-Id: I504e65add446c4262e9b1e02ff3e41c08d1cfdfd
Reviewed-on: https://code.wireshark.org/review/14019
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/main_window.ui | 12 | ||||
-rw-r--r-- | ui/qt/search_frame.ui | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui index 9e562f0149..021d7880d3 100644 --- a/ui/qt/main_window.ui +++ b/ui/qt/main_window.ui @@ -86,6 +86,12 @@ <property name="default"> <bool>true</bool> </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>27</height> + </size> + </property> </widget> </item> <item> @@ -93,6 +99,12 @@ <property name="text"> <string>Cancel</string> </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>27</height> + </size> + </property> </widget> </item> </layout> diff --git a/ui/qt/search_frame.ui b/ui/qt/search_frame.ui index 917badf1f1..5b5aac2745 100644 --- a/ui/qt/search_frame.ui +++ b/ui/qt/search_frame.ui @@ -148,6 +148,12 @@ <property name="default"> <bool>true</bool> </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>27</height> + </size> + </property> </widget> </item> <item> @@ -155,6 +161,12 @@ <property name="text"> <string>Cancel</string> </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>27</height> + </size> + </property> </widget> </item> </layout> |