Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/components/ActionButton.qml
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 67 | PlasmaCore.IconItem { | |||
---|---|---|---|---|---|
74 | height: iconSize | 74 | height: iconSize | ||
75 | 75 | | |||
76 | colorGroup: PlasmaCore.ColorScope.colorGroup | 76 | colorGroup: PlasmaCore.ColorScope.colorGroup | ||
77 | active: mouseArea.containsMouse || root.activeFocus | 77 | active: mouseArea.containsMouse || root.activeFocus | ||
78 | } | 78 | } | ||
79 | 79 | | |||
80 | PlasmaComponents.Label { | 80 | PlasmaComponents.Label { | ||
81 | id: label | 81 | id: label | ||
82 | font.pointSize: theme.defaultFont.pointSize + 1 | 82 | font.pointSize: config.LoginFieldFontSize || theme.defaultFont.pointSize + 1 | ||
83 | anchors { | 83 | anchors { | ||
84 | top: icon.bottom | 84 | top: icon.bottom | ||
85 | topMargin: (softwareRendering ? 1.5 : 1) * units.smallSpacing | 85 | topMargin: (softwareRendering ? 1.5 : 1) * units.smallSpacing | ||
86 | left: parent.left | 86 | left: parent.left | ||
87 | right: parent.right | 87 | right: parent.right | ||
88 | } | 88 | } | ||
89 | style: softwareRendering ? Text.Outline : Text.Normal | 89 | style: softwareRendering ? Text.Outline : Text.Normal | ||
90 | styleColor: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : "transparent" //no outline, doesn't matter | 90 | styleColor: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : "transparent" //no outline, doesn't matter | ||
Show All 21 Lines |