Workspace: slimmer look
This commit is contained in:
parent
57a8f5f0b3
commit
44c98553dc
1 changed files with 3 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ Item {
|
||||||
model: localWorkspaces
|
model: localWorkspaces
|
||||||
Item {
|
Item {
|
||||||
id: workspacePillContainer
|
id: workspacePillContainer
|
||||||
height: Math.round(19 * scaling)
|
height: Math.round(16 * scaling)
|
||||||
width: root.calculatedWsWidth(model)
|
width: root.calculatedWsWidth(model)
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
@ -166,12 +166,13 @@ Item {
|
||||||
Text {
|
Text {
|
||||||
text: {
|
text: {
|
||||||
if (model.name && model.name.length > 0) {
|
if (model.name && model.name.length > 0) {
|
||||||
return model.name.substring(0, 2).toUpperCase()
|
return model.name.substring(0, 2)
|
||||||
} else {
|
} else {
|
||||||
return model.idx.toString()
|
return model.idx.toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
font.pointSize: model.isFocused ? Style.fontSizeXS * scaling : Style.fontSizeXXS * scaling
|
font.pointSize: model.isFocused ? Style.fontSizeXS * scaling : Style.fontSizeXXS * scaling
|
||||||
|
font.capitalization: Font.SmallCaps
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue