Bar UI improvements
- better rounding at low scaling, for accurate vertical centering - use fixed font bar system monitor - use bold for workspaces name
This commit is contained in:
parent
d6df496216
commit
c6cf5a0fab
5 changed files with 11 additions and 12 deletions
|
|
@ -88,7 +88,8 @@ Row {
|
|||
|
||||
// Fix collapsed width to 120px to avoid layout shifts with neighbors
|
||||
// Expand up to 400px on hover
|
||||
width: mouseArea.containsMouse ? Math.min(Math.max(minWidth * scaling, fullTitleMetrics.contentWidth), 400 * scaling) : minWidth * scaling
|
||||
width: mouseArea.containsMouse ? Math.min(Math.max(minWidth * scaling, fullTitleMetrics.contentWidth),
|
||||
400 * scaling) : minWidth * scaling
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
text: getTitle()
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue