summaryrefslogtreecommitdiff
path: root/ui/qt/main_welcome.ui
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2016-10-21 08:17:54 +0200
committerRoland Knall <rknall@gmail.com>2016-10-21 08:02:54 +0000
commitb50888de9994efdbd8851e8992d6bec31f9d0b89 (patch)
treee066e9d47d0d5e9cb99ea9c416117e69a18965ee /ui/qt/main_welcome.ui
parentefde624a11b82d3d51925d5f94ff5bedeafe1e03 (diff)
downloadwireshark-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.ui15
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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open a file on your file system&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
<property name="text">
<string>&lt;h2&gt;Open&lt;/h2&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Capture live packets from your network.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>