coreaddons + Kirigami Avatar fix
This commit is contained in:
parent
e56994955c
commit
7d0d0c112b
@ -304,8 +304,7 @@ Item {
|
|||||||
|
|
||||||
PlasmaComponents.TabBar {
|
PlasmaComponents.TabBar {
|
||||||
id: tabBar
|
id: tabBar
|
||||||
|
count: 5 // updated in createButtons()
|
||||||
property int count: 5 // updated in createButtons()
|
|
||||||
|
|
||||||
Behavior on width {
|
Behavior on width {
|
||||||
NumberAnimation { duration: Kirigami.Units.longDuration; easing.type: Easing.InQuad; }
|
NumberAnimation { duration: Kirigami.Units.longDuration; easing.type: Easing.InQuad; }
|
||||||
|
@ -23,13 +23,14 @@ import org.kde.plasma.core as PlasmaCore
|
|||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
import org.kde.plasma.components 3.0 as PlasmaComponents
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
||||||
import org.kde.plasma.extras as PlasmaExtras
|
import org.kde.plasma.extras as PlasmaExtras
|
||||||
import org.kde.kcoreaddons 1.0 as KCoreAddons
|
import org.kde.coreaddons 1.0 as KCoreAddons
|
||||||
// While using Kirigami in applets is normally a no, we
|
// While using Kirigami in applets is normally a no, we
|
||||||
// use Avatar, which doesn't need to read the colour scheme
|
// use Avatar, which doesn't need to read the colour scheme
|
||||||
// at all to function, so there won't be any oddities with colours.
|
// at all to function, so there won't be any oddities with colours.
|
||||||
import org.kde.kirigami 2.13 as Kirigami
|
import org.kde.kirigami 2.20 as Kirigami
|
||||||
|
import org.kde.kirigamiaddons.components as KirigamiAddons
|
||||||
import org.kde.kquickcontrolsaddons 2.0
|
import org.kde.kquickcontrolsaddons 2.0
|
||||||
import QtGraphicalEffects 1.0
|
import Qt5Compat.GraphicalEffects 1.0
|
||||||
|
|
||||||
PlasmaExtras.PlasmoidHeading {
|
PlasmaExtras.PlasmoidHeading {
|
||||||
id: header
|
id: header
|
||||||
@ -81,7 +82,7 @@ PlasmaExtras.PlasmoidHeading {
|
|||||||
Layout.preferredWidth: Kirigami.Units.gridUnit * 3
|
Layout.preferredWidth: Kirigami.Units.gridUnit * 3
|
||||||
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
|
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
|
||||||
|
|
||||||
Kirigami.Avatar {
|
KirigamiAddons.Avatar {
|
||||||
source: kuser.faceIconUrl
|
source: kuser.faceIconUrl
|
||||||
name: nameLabel
|
name: nameLabel
|
||||||
anchors {
|
anchors {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user