fix title text to fixed length
This commit is contained in:
parent
e74c3ce04b
commit
208a58f2b8
@ -38,6 +38,7 @@ Rectangle {
|
||||
CustomText {
|
||||
id: titleText
|
||||
Layout.rightMargin: 10
|
||||
Layout.maximumWidth: 300
|
||||
text: root.activeWindow ? root.activeWindow.activated ? root.activeWindow.title : "Desktop" : "Desktop"
|
||||
onTextChanged: {
|
||||
console.log(root.activeWindow.title);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user