mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
* Fixed some margins.
This commit is contained in:
parent
adf05014fb
commit
757d2691c1
@ -26,7 +26,9 @@ AudioControls::AudioControls( QWidget* parent )
|
||||
ui->trackLabelLayout->setSpacing( 3 );
|
||||
|
||||
QFont font( ui->artistTrackLabel->font() );
|
||||
// font.setPixelSize( 12 );
|
||||
font.setPixelSize( 12 );
|
||||
ui->artistTrackLabel->setMinimumSize( ui->artistTrackLabel->minimumSizeHint() );
|
||||
ui->albumLabel->setMinimumSize( ui->albumLabel->minimumSizeHint() );
|
||||
|
||||
ui->artistTrackLabel->setFont( font );
|
||||
ui->artistTrackLabel->setElideMode( Qt::ElideMiddle );
|
||||
|
@ -138,13 +138,13 @@
|
||||
<number>12</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>8</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="coverImage">
|
||||
@ -189,10 +189,10 @@
|
||||
<number>8</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_2" native="true">
|
||||
@ -211,12 +211,6 @@
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="trackLabelLayout">
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="ElidedLabel" name="artistTrackLabel">
|
||||
<property name="cursor">
|
||||
|
@ -87,6 +87,7 @@ ElidedLabel::init( const QString& txt )
|
||||
m_text = txt;
|
||||
align = Qt::AlignLeft;
|
||||
mode = Qt::ElideMiddle;
|
||||
setContentsMargins( 0, 0, 0, 0 );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user