~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-zesty-2106

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Settings/Menus/ModemInfoItem.qml

remove some unneeded layouts (LP: #1585645)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            opacity: menu.locked ? 0.6 : 1.0
48
48
        }
49
49
 
50
 
        RowLayout {
 
50
        Row {
51
51
            id: statusRow
52
52
            spacing: units.gu(1)
53
53
 
60
60
                opacity: 0.6
61
61
            }
62
62
 
63
 
            RowLayout {
 
63
            Row {
64
64
                spacing: units.gu(0.5)
65
65
                height: parent.height
66
66
                Icon {
84
84
                }
85
85
            }
86
86
 
87
 
            Item {
88
 
                Layout.fillWidth: true
89
 
                Layout.fillHeight: true
90
 
 
91
 
                RowLayout {
92
 
                    visible: menu.roaming
93
 
                    anchors.fill: parent
94
 
 
95
 
                    spacing: units.gu(0.5)
96
 
                    Label {
97
 
                        id: labelRoaming
98
 
                        elide: Text.ElideRight
99
 
                        fontSize: "x-small"
100
 
                        text: i18n.dtr("ubuntu-settings-components", "Roaming")
101
 
                        opacity: 0.6
102
 
                    }
103
 
 
104
 
                    Icon {
105
 
                        id: iconRoaming
106
 
                        color: theme.palette.normal.backgroundText
107
 
 
108
 
                        height: labelStatus.height
109
 
                        width: height
110
 
 
111
 
                        name: "network-cellular-roaming"
112
 
                    }
 
87
            Row {
 
88
                spacing: units.gu(0.5)
 
89
                height: parent.height
 
90
 
 
91
                Label {
 
92
                    id: labelRoaming
 
93
                    visible: menu.roaming
 
94
                    elide: Text.ElideRight
 
95
                    fontSize: "x-small"
 
96
                    text: i18n.dtr("ubuntu-settings-components", "Roaming")
 
97
                    opacity: 0.6
 
98
                }
 
99
 
 
100
                Icon {
 
101
                    id: iconRoaming
 
102
                    color: theme.palette.normal.backgroundText
 
103
                    visible: menu.roaming
 
104
 
 
105
                    height: labelStatus.height
 
106
                    width: height
 
107
 
 
108
                    name: "network-cellular-roaming"
113
109
                }
114
110
            }
115
111
        }