[vlc-commits] Qt: AboutDialog: frameless buttons must expand
Francois Cartegnie
git at videolan.org
Tue Apr 16 15:50:53 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 16 15:31:36 2013 +0200| [f786bc6f15555cd5c84693b3e933b986b9d416a3] | committer: Francois Cartegnie
Qt: AboutDialog: frameless buttons must expand
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f786bc6f15555cd5c84693b3e933b986b9d416a3
---
modules/gui/qt4/ui/about.ui | 51 ++++++++++++++++++++++++++++++++++++++++---
1 file changed, 48 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/ui/about.ui b/modules/gui/qt4/ui/about.ui
index 316ccb6..378093f 100644
--- a/modules/gui/qt4/ui/about.ui
+++ b/modules/gui/qt4/ui/about.ui
@@ -17,7 +17,16 @@
<property name="spacing">
<number>0</number>
</property>
- <property name="margin">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
@@ -92,7 +101,16 @@ background-color: rgb(245, 245, 245);</string>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="margin">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
@@ -247,11 +265,26 @@ margin-bottom: 6px;</string>
background-color: rgb(230, 230, 230);</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="margin">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="authorsButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="styleSheet">
<string notr="true">padding: 10px</string>
</property>
@@ -265,6 +298,12 @@ background-color: rgb(230, 230, 230);</string>
</item>
<item>
<widget class="QToolButton" name="licenseButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="styleSheet">
<string notr="true">padding: 10px</string>
</property>
@@ -278,6 +317,12 @@ background-color: rgb(230, 230, 230);</string>
</item>
<item>
<widget class="QToolButton" name="creditsButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="styleSheet">
<string notr="true">padding: 10px;</string>
</property>
More information about the vlc-commits
mailing list