ensire the switch is rendered correctly

This commit is contained in:
Marco Martin 2012-04-27 15:47:58 +02:00
parent 856b001d73
commit b529412312

View File

@ -60,7 +60,8 @@ Private.DualStateButton {
imagePath: "widgets/slider"
prefix: "groove"
width: height * 2
height: theme.defaultFont.mSize.height + margins.top
height: Math.max(theme.defaultFont.mSize.height + margins.top + margins.bottom,
button.margins.top + button.margins.bottom)
PlasmaCore.FrameSvgItem {
id: highlight