mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-07 20:50:53 +02:00
Made the account config dialog widgets more nicely aligned.
This commit is contained in:
@@ -112,8 +112,8 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="emailLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
@@ -135,7 +135,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="xmppUsername">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
@@ -148,7 +148,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
@@ -164,7 +164,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLineEdit" name="xmppPassword">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
|
@@ -52,7 +52,10 @@ DelegateConfigWrapper::DelegateConfigWrapper( QWidget* conf, QWidget* aboutWidge
|
||||
m_buttons->button( QDialogButtonBox::Help )->setText( tr( "About" ) );
|
||||
}
|
||||
|
||||
v->addWidget( m_buttons );
|
||||
QHBoxLayout* h = new QHBoxLayout( this );
|
||||
h->addWidget( m_buttons );
|
||||
h->setContentsMargins( 6, 0, 6, 6 );
|
||||
v->addLayout( h );
|
||||
|
||||
setLayout( v );
|
||||
|
||||
|
Reference in New Issue
Block a user