1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +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 );
setWindowFlags( Qt::FramelessWindowHint );
setWindowFlags( Qt::Popup );
ui->verticalLayout->setSpacing( 8 );
TomahawkUtils::unmarginLayout( layout() );
ui->verticalLayout->setMargin( 12 );

View File

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