[vlc-commits] Revert "Qt: AboutDialog: frameless buttons must expand"

Jean-Baptiste Kempf git at videolan.org
Tue Apr 16 16:08:42 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 16 15:57:22 2013 +0200| [d63309d45249d713e7960ee863a0e5ad442e8ca3] | committer: Jean-Baptiste Kempf

Revert "Qt: AboutDialog: frameless buttons must expand"

This reverts commit f786bc6f15555cd5c84693b3e933b986b9d416a3.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d63309d45249d713e7960ee863a0e5ad442e8ca3
---

 modules/gui/qt4/ui/about.ui |   51 +++----------------------------------------
 1 file changed, 3 insertions(+), 48 deletions(-)

diff --git a/modules/gui/qt4/ui/about.ui b/modules/gui/qt4/ui/about.ui
index 71794af..9a92ece 100644
--- a/modules/gui/qt4/ui/about.ui
+++ b/modules/gui/qt4/ui/about.ui
@@ -17,16 +17,7 @@
    <property name="spacing">
     <number>0</number>
    </property>
-   <property name="leftMargin">
-    <number>0</number>
-   </property>
-   <property name="topMargin">
-    <number>0</number>
-   </property>
-   <property name="rightMargin">
-    <number>0</number>
-   </property>
-   <property name="bottomMargin">
+   <property name="margin">
     <number>0</number>
    </property>
    <item>
@@ -64,16 +55,7 @@ background-color: rgb(245, 245, 245);</string>
           </sizepolicy>
          </property>
          <layout class="QVBoxLayout" name="verticalLayout_2">
-          <property name="leftMargin">
-           <number>0</number>
-          </property>
-          <property name="topMargin">
-           <number>0</number>
-          </property>
-          <property name="rightMargin">
-           <number>0</number>
-          </property>
-          <property name="bottomMargin">
+          <property name="margin">
            <number>0</number>
           </property>
           <item>
@@ -293,26 +275,11 @@ margin-bottom: 6px;</string>
 background-color: rgb(230, 230, 230);</string>
      </property>
      <layout class="QHBoxLayout" name="horizontalLayout_2">
-      <property name="leftMargin">
-       <number>0</number>
-      </property>
-      <property name="topMargin">
-       <number>0</number>
-      </property>
-      <property name="rightMargin">
-       <number>0</number>
-      </property>
-      <property name="bottomMargin">
+      <property name="margin">
        <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>
@@ -326,12 +293,6 @@ 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>
@@ -345,12 +306,6 @@ 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