diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2016-10-21 08:17:54 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-10-21 08:02:54 +0000 |
commit | b50888de9994efdbd8851e8992d6bec31f9d0b89 (patch) | |
tree | e066e9d47d0d5e9cb99ea9c416117e69a18965ee /ui/qt/main_welcome.ui | |
parent | efde624a11b82d3d51925d5f94ff5bedeafe1e03 (diff) | |
download | wireshark-b50888de9994efdbd8851e8992d6bec31f9d0b89.tar.gz |
WelcomeUI: Enhance Open and Capture clickable labels
Open and Capture are now clickable labels, but they are sensitive
throughout the whole width of the central column. Without background
highlighting, as in the file list, this may be non-intuative.
To more closely resemble a button, limit the sensitivity to the text
of the label only, by limiting the label size.
Change-Id: I0b703af02abc71a48dfbcee81f336bba955b4a70
Reviewed-on: https://code.wireshark.org/review/18349
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/main_welcome.ui')
-rw-r--r-- | ui/qt/main_welcome.ui | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/qt/main_welcome.ui b/ui/qt/main_welcome.ui index e636c16e34..4b63b084f4 100644 --- a/ui/qt/main_welcome.ui +++ b/ui/qt/main_welcome.ui @@ -119,6 +119,15 @@ </property> <item> <widget class="ClickableLabel" name="recentLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Open a file on your file system</p></body></html></string> + </property> <property name="text"> <string><h2>Open</h2></string> </property> @@ -148,6 +157,12 @@ </item> <item> <widget class="ClickableLabel" name="captureLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="toolTip"> <string><html><head/><body><p>Capture live packets from your network.</p></body></html></string> </property> |