mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
widgets/mediacontrols: Fix uncentered icon in buttons
Use QQC2 components instead of PC3 components, now that theming works properly
This commit is contained in:
parent
68bd204e36
commit
7ec8d5f54a
1 changed files with 3 additions and 4 deletions
|
|
@ -10,7 +10,6 @@ import org.kde.kirigami as Kirigami
|
|||
|
||||
import org.kde.plasma.private.mobileshell as MobileShell
|
||||
import org.kde.plasma.private.mobileshell.state as MobileShellState
|
||||
import org.kde.plasma.components 3.0 as PlasmaComponents3
|
||||
|
||||
import org.kde.plasma.private.mpris as Mpris
|
||||
|
||||
|
|
@ -160,7 +159,7 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
PlasmaComponents3.ToolButton {
|
||||
QQC2.ToolButton {
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredWidth: height
|
||||
|
||||
|
|
@ -176,7 +175,7 @@ Item {
|
|||
Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Previous track")
|
||||
}
|
||||
|
||||
PlasmaComponents3.ToolButton {
|
||||
QQC2.ToolButton {
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredWidth: height
|
||||
|
||||
|
|
@ -190,7 +189,7 @@ Item {
|
|||
Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Play or Pause media")
|
||||
}
|
||||
|
||||
PlasmaComponents3.ToolButton {
|
||||
QQC2.ToolButton {
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredWidth: height
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue