mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Fix Layout, more changes to modular bar
This commit is contained in:
@@ -16,6 +16,7 @@ ColumnLayout {
|
||||
|
||||
}
|
||||
property string currentKey: ''
|
||||
property string placeholder: ""
|
||||
|
||||
signal selected(string key)
|
||||
|
||||
@@ -61,8 +62,9 @@ ColumnLayout {
|
||||
font.pointSize: Style.fontSizeM * scaling
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
elide: Text.ElideRight
|
||||
color: (combo.currentIndex >= 0 && combo.currentIndex < root.model.count) ? Color.mOnSurface : Color.mOnSurfaceVariant
|
||||
text: (combo.currentIndex >= 0 && combo.currentIndex < root.model.count) ? root.model.get(
|
||||
combo.currentIndex).name : ""
|
||||
combo.currentIndex).name : root.placeholder
|
||||
}
|
||||
|
||||
indicator: NIcon {
|
||||
|
||||
Reference in New Issue
Block a user