BarHeight: more rounding uniformization
This commit is contained in:
parent
fdf67ab512
commit
fcf627c30b
5 changed files with 6 additions and 6 deletions
|
|
@ -271,7 +271,7 @@ NPanel {
|
|||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
Layout.preferredHeight: Math.round(Style.barHeight * scaling)
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
|
|
@ -313,7 +313,7 @@ NPanel {
|
|||
|
||||
Rectangle {
|
||||
Layout.preferredWidth: Style.baseWidgetSize * 2.5 * scaling
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
Layout.preferredHeight: Math.round(Style.barHeight * scaling)
|
||||
radius: Style.radiusM * scaling
|
||||
color: Color.mPrimary
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue