refactor(widget): improvements to button and icon widgets

This commit is contained in:
Michael Aaron Murphy 2023-09-13 15:47:32 +02:00 committed by Michael Murphy
parent 7f0943924a
commit 9dbc1be269
20 changed files with 399 additions and 558 deletions

View file

@ -122,9 +122,7 @@ where
Self {
model,
id: None,
close_icon: icon::handle::from_name("window-close-symbolic")
.size(16)
.icon(),
close_icon: icon::from_name("window-close-symbolic").size(16).icon(),
show_close_icon_on_hover: false,
button_padding: [4, 4, 4, 4],
button_height: 32,