aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/audioplayer
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/desktop-plugins/audioplayer')
-rw-r--r--lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp2
-rw-r--r--lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui47
2 files changed, 42 insertions, 7 deletions
diff --git a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
index 1d39441e..ffd5df93 100644
--- a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
+++ b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
@@ -213,7 +213,7 @@ AudioPlayerPlugin::AudioPlayerPlugin(QWidget *parent, QString ID) : LDPlugin(par
this->layout()->setContentsMargins(0,0,0,0);
this->layout()->addWidget(player);
- this->setInitialSize(300,100);
+ this->setInitialSize(300,75);
}
AudioPlayerPlugin::~AudioPlayerPlugin(){
diff --git a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui
index aa8cbd8b..a27e0643 100644
--- a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui
+++ b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui
@@ -6,13 +6,16 @@
<rect>
<x>0</x>
<y>0</y>
- <width>262</width>
- <height>111</height>
+ <width>307</width>
+ <height>87</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
+ <property name="styleSheet">
+ <string notr="true">QToolButton::menu-indicator{ image: none; }</string>
+ </property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
@@ -31,10 +34,6 @@
</property>
<item>
<widget class="QFrame" name="frame">
- <property name="styleSheet">
- <string notr="true">QFrame{ background: rgba(255,255,255,200); border-radius: 3px; }
-QToolButton::menu-indicator{ image: none; }</string>
- </property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
@@ -42,6 +41,21 @@ QToolButton::menu-indicator{ image: none; }</string>
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
+ <property name="spacing">
+ <number>3</number>
+ </property>
+ <property name="leftMargin">
+ <number>4</number>
+ </property>
+ <property name="topMargin">
+ <number>4</number>
+ </property>
+ <property name="rightMargin">
+ <number>4</number>
+ </property>
+ <property name="bottomMargin">
+ <number>4</number>
+ </property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
@@ -52,6 +66,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
@@ -62,6 +79,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
@@ -82,6 +102,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="text">
<string notr="true">prev</string>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
@@ -96,6 +119,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="text">
<string notr="true">next</string>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -110,6 +136,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="text">
<string notr="true">Play</string>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
@@ -117,6 +146,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="text">
<string notr="true">Pause</string>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
@@ -124,6 +156,9 @@ QToolButton::menu-indicator{ image: none; }</string>
<property name="text">
<string notr="true">Stop</string>
</property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
bgstack15