diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-03-02 22:19:19 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2017-03-03 16:18:56 +0000 |
commit | a539036339c3bbe51b5c59ed23906d977878597c (patch) | |
tree | c5f9d557ab7458a60b6687b323dd6b24d942895d /ui/qt/main_welcome.ui | |
parent | 85aa48cef2d6334a05963bf36711d47eceb3d209 (diff) | |
download | wireshark-a539036339c3bbe51b5c59ed23906d977878597c.tar.gz |
Qt: reduce minimum window size requirement
Strip some padding from the main welcome screen and lower the minimum
width to allow the window to be shrinked. Even when a capture file was
open, the minimum dimensions from the main welcome screen would apply.
The minimum dimensions on Arch Linux with Qt 5.8.0-5 and Plasma 5.9.2
(with the default Breeze theme) for a window have changes as follows:
- main screen/pcap loaded: 746x626 -> 702x590
- with search bar opened: 826x658 -> 826x622
(These numbers exclude 35x10 window decoration.)
Change-Id: Iccc43ee55803abb8105c0d9664368aab09e8cfcf
Reviewed-on: https://code.wireshark.org/review/20343
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/qt/main_welcome.ui')
-rw-r--r-- | ui/qt/main_welcome.ui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_welcome.ui b/ui/qt/main_welcome.ui index b791c78a4a..20375a3b76 100644 --- a/ui/qt/main_welcome.ui +++ b/ui/qt/main_welcome.ui @@ -40,7 +40,7 @@ <widget class="QWidget" name="bannerLayout" native="true"> <property name="minimumSize"> <size> - <width>650</width> + <width>550</width> <height>0</height> </size> </property> |