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