Changeset View
Changeset View
Standalone View
Standalone View
src/qml/ViewSelector.qml
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 154 | LabelWithToolTip { | |||
---|---|---|---|---|---|
158 | 158 | | |||
159 | anchors.verticalCenter: parent.verticalCenter | 159 | anchors.verticalCenter: parent.verticalCenter | ||
160 | anchors.leftMargin: elisaTheme.layoutHorizontalMargin | 160 | anchors.leftMargin: elisaTheme.layoutHorizontalMargin | ||
161 | anchors.left: viewIcon.right | 161 | anchors.left: viewIcon.right | ||
162 | anchors.right: parent.right | 162 | anchors.right: parent.right | ||
163 | anchors.rightMargin: elisaTheme.layoutHorizontalMargin | 163 | anchors.rightMargin: elisaTheme.layoutHorizontalMargin | ||
164 | verticalAlignment: "AlignVCenter" | 164 | verticalAlignment: "AlignVCenter" | ||
165 | 165 | | |||
166 | font.pointSize: elisaTheme.defaultFontPointSize * 1.1 | 166 | font.pointSize: Math.round(elisaTheme.defaultFontPointSize * 1.1) | ||
167 | 167 | | |||
168 | text: model.display | 168 | text: model.display | ||
169 | elide: Text.ElideRight | 169 | elide: Text.ElideRight | ||
170 | 170 | | |||
171 | opacity: textOpacity | 171 | opacity: textOpacity | ||
172 | visible: opacity > 0 | 172 | visible: opacity > 0 | ||
173 | 173 | | |||
174 | Behavior on opacity { | 174 | Behavior on opacity { | ||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |