mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
widget/material: Make checkbox/radio buttons icon modifiable
Signed-off-by: songpv <pvsong10@icloud.com>
This commit is contained in:
@@ -27,8 +27,8 @@ func RadioButton(th *Theme, group *widget.Enum, key, label string) RadioButtonSt
|
||||
TextSize: th.TextSize.Scale(14.0 / 16.0),
|
||||
Size: unit.Dp(26),
|
||||
shaper: th.Shaper,
|
||||
checkedStateIcon: th.radioCheckedIcon,
|
||||
uncheckedStateIcon: th.radioUncheckedIcon,
|
||||
checkedStateIcon: th.Icon.RadioChecked,
|
||||
uncheckedStateIcon: th.Icon.RadioUnchecked,
|
||||
},
|
||||
Key: key,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user