1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 14:46:33 +02:00

Try to make SocialWidget nicer on Mac.

This commit is contained in:
Teo Mrnjavac
2012-10-20 20:05:11 +02:00
parent 3a52d7b097
commit 1a0bb3e530
2 changed files with 71 additions and 64 deletions

View File

@@ -44,7 +44,7 @@ SocialWidget::SocialWidget( QWidget* parent )
ui->setupUi( this ); ui->setupUi( this );
setWindowFlags( Qt::FramelessWindowHint ); setWindowFlags( Qt::FramelessWindowHint );
setWindowFlags( Qt::Popup ); setWindowFlags( Qt::Popup );
ui->verticalLayout->setSpacing( 8 ); TomahawkUtils::unmarginLayout( layout() );
ui->verticalLayout->setMargin( 12 ); ui->verticalLayout->setMargin( 12 );

View File

@@ -6,21 +6,18 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>363</width> <width>351</width>
<height>204</height> <height>202</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin"> <property name="spacing">
<number>8</number> <number>0</number>
</property> </property>
<property name="topMargin"> <property name="margin">
<number>8</number>
</property>
<property name="rightMargin">
<number>8</number> <number>8</number>
</property> </property>
<item> <item>
@@ -47,6 +44,11 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<layout class="QVBoxLayout" name="internalVLayout">
<property name="spacing">
<number>0</number>
</property>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
@@ -70,6 +72,9 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item> <item>
<widget class="QTextEdit" name="textEdit"> <widget class="QTextEdit" name="textEdit">
<property name="maximumSize"> <property name="maximumSize">
@@ -91,7 +96,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>1</width> <width>1</width>
<height>8</height> <height>4</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@@ -124,6 +129,8 @@
</item> </item>
</layout> </layout>
</item> </item>
</layout>
</item>
<item> <item>
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons"> <property name="standardButtons">