Restore original checkbox and radio button size

REVIEW: 119920
This commit is contained in:
Kai Uwe Broulik 2014-09-06 14:37:36 +02:00
parent 2a91cd3969
commit 55fc160bc0
2 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ QtQuickControlStyle.CheckBoxStyle {
indicator: PlasmaCore.FrameSvgItem {
imagePath: "widgets/button"
prefix: "normal"
width: units.gridUnit
height: units.gridUnit
width: theme.mSize(theme.defaultFont).height + margins.left
height: theme.mSize(theme.defaultFont).height + margins.top
opacity: control.enabled ? 1 : 0.6
PlasmaCore.SvgItem {

View File

@ -42,8 +42,8 @@ QtQuickControlStyle.RadioButtonStyle {
}
elementId: "normal"
width: units.gridUnit
height: width
width: theme.mSize(theme.defaultFont).height + margins.left
height: theme.mSize(theme.defaultFont).height + margins.top
PlasmaCore.SvgItem {
id: checkmark