diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-01-24 10:39:39 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-25 09:05:07 +0000 |
commit | 350ca99d1797a2701e40d198a8ff17cfb19d0adc (patch) | |
tree | ab46d02d9d5932ed794bc24034a336af6afcd2aa | |
parent | ba3f29b62fcb362b5385b7e35691f0c466d811fd (diff) |
Qt: Adjust the about box layout.
Make sure the compile and build information is centered.
Change-Id: I2bfe502df4339c28d8c88553419b7d4d412a2be2
Reviewed-on: https://code.wireshark.org/review/25461
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | ui/qt/about_dialog.ui | 60 |
1 files changed, 53 insertions, 7 deletions
diff --git a/ui/qt/about_dialog.ui b/ui/qt/about_dialog.ui index ef45c43755..740311df71 100644 --- a/ui/qt/about_dialog.ui +++ b/ui/qt/about_dialog.ui @@ -35,7 +35,7 @@ <attribute name="title"> <string>Wireshark</string> </attribute> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0,1"> <item> <widget class="QLabel" name="label_logo"> <property name="text"> @@ -63,14 +63,60 @@ </widget> </item> <item> - <widget class="QLabel" name="label_wireshark"> - <property name="text"> - <string/> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_wireshark"> + <property name="text"> + <string/> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> - <property name="scaledContents"> - <bool>true</bool> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> </property> - </widget> + </spacer> </item> </layout> </widget> |