Workspace: attempt to fix tiny vertical offset
This commit is contained in:
parent
f533e2a547
commit
a1dcaa2683
1 changed files with 3 additions and 3 deletions
|
|
@ -152,7 +152,7 @@ Item {
|
||||||
model: localWorkspaces
|
model: localWorkspaces
|
||||||
Item {
|
Item {
|
||||||
id: workspacePillContainer
|
id: workspacePillContainer
|
||||||
height: Settings.data.bar.showWorkspacesNames ? Math.round(18 * scaling) : Math.round(14 * scaling)
|
height: Settings.data.bar.showWorkspacesNames ? 18 * scaling : 14 * scaling
|
||||||
width: root.calculatedWsWidth(model)
|
width: root.calculatedWsWidth(model)
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
@ -171,8 +171,8 @@ Item {
|
||||||
return model.idx.toString()
|
return model.idx.toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
font.pointSize: model.isFocused ? Style.fontSizeS * scaling : Style.fontSizeXS * scaling
|
font.pointSize: model.isFocused ? Style.fontSizeXS * scaling : Style.fontSizeXXS * scaling
|
||||||
font.capitalization: Font.SmallCaps
|
font.capitalization: Font.AllUppercase
|
||||||
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