mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Major graphical change: add a vertical line between the repeat/playlist buttons and the playlist length label
This commit is contained in:
parent
1e80ac8c5b
commit
b6a642ab15
@ -38,6 +38,12 @@ PlaylistSequence::PlaylistSequence(QWidget *parent, SettingsProvider *settings)
|
||||
{
|
||||
ui_->setupUi(this);
|
||||
|
||||
// Windows puts lines between status bar widgets already
|
||||
#ifdef Q_OS_WIN32
|
||||
ui_->line_left->hide();
|
||||
ui_->line_right->hide();
|
||||
#endif
|
||||
|
||||
// Icons
|
||||
ui_->repeat->setIcon(AddDesaturatedIcon(IconLoader::Load("media-playlist-repeat")));
|
||||
ui_->shuffle->setIcon(AddDesaturatedIcon(IconLoader::Load("media-playlist-shuffle")));
|
||||
|
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>62</width>
|
||||
<width>80</width>
|
||||
<height>37</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -15,10 +15,7 @@
|
||||
border: 0px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#line {
|
||||
margin: 3px 0px 3px 0px;
|
||||
}</string>
|
||||
</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
@ -27,6 +24,13 @@
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="Line" name="line_left">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="repeat">
|
||||
<property name="toolTip">
|
||||
@ -66,7 +70,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<widget class="Line" name="line_right">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user