bar: uniformising left section look (border, radius, colors) with workspace
This commit is contained in:
parent
549a7ec6f3
commit
ea72d7675e
5 changed files with 27 additions and 84 deletions
|
|
@ -114,14 +114,16 @@ Item {
|
|||
|
||||
Rectangle {
|
||||
id: workspaceBackground
|
||||
width: parent.width - Math.round(15 * scaling)
|
||||
height: Math.round(26 * scaling)
|
||||
width: parent.width - Style.marginSmall * scaling * 2
|
||||
|
||||
height: Math.round(Style.barHeight * 0.75 * scaling)
|
||||
radius: Math.round(Style.radiusMedium * scaling)
|
||||
color: Color.mSurfaceVariant
|
||||
border.color: Color.mOutline
|
||||
border.width: Math.max(1, Math.round(Style.borderThin * scaling))
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
radius: Math.round(12 * scaling)
|
||||
color: Color.mSurfaceVariant
|
||||
border.color: Color.mOutlineVariant
|
||||
border.width: Math.max(1, Math.round(1 * scaling))
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
shadowColor: Color.mShadow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue