avoid half pixels
This commit is contained in:
parent
cee9c928e3
commit
944c1549ae
@ -114,7 +114,7 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
implicitHeight: Math.max(theme.mSize(theme.defaultFont).height*1.6, minimumHeight)
|
||||
implicitHeight: Math.floor(Math.max(theme.mSize(theme.defaultFont).height*1.6, minimumHeight))
|
||||
|
||||
// TODO: needs to define if there will be specific graphics for
|
||||
// disabled buttons
|
||||
|
@ -61,8 +61,8 @@ Item {
|
||||
*/
|
||||
property int orientation: Qt.Horizontal
|
||||
|
||||
width: units.gridUnit * (background._isVertical ? 1.6 : 10)
|
||||
height: units.gridUnit * (background._isVertical ? 10 : 1.6)
|
||||
width: Math.floor(units.gridUnit * (background._isVertical ? 1.6 : 10))
|
||||
height: Math.floor(units.gridUnit * (background._isVertical ? 10 : 1.6))
|
||||
opacity: enabled ? 1.0 : 0.5
|
||||
|
||||
PlasmaComponents.RangeModel {
|
||||
|
Loading…
Reference in New Issue
Block a user