summaryrefslogtreecommitdiff
path: root/modules/controlcenter/network
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter/network')
-rw-r--r--modules/controlcenter/network/SimpleButton.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/controlcenter/network/SimpleButton.qml b/modules/controlcenter/network/SimpleButton.qml
index c949db3..00e5a4e 100644
--- a/modules/controlcenter/network/SimpleButton.qml
+++ b/modules/controlcenter/network/SimpleButton.qml
@@ -33,12 +33,6 @@ StyledRect {
anchors.centerIn: parent
spacing: Appearance.spacing.small
- StyledText {
- id: label
- Layout.leftMargin: root.icon.length > 0 ? Appearance.padding.smaller : 0
- color: parent.parent.onColor
- }
-
MaterialIcon {
id: iconItem
visible: root.icon.length > 0
@@ -46,6 +40,12 @@ StyledRect {
color: root.onColor
font.pointSize: Appearance.font.size.large
}
+
+ StyledText {
+ id: label
+ Layout.leftMargin: root.icon.length > 0 ? Appearance.padding.smaller : 0
+ color: parent.parent.onColor
+ }
}
signal clicked