refactor(widget): improvements to button and icon widgets

This commit is contained in:
Michael Aaron Murphy 2023-09-13 15:47:32 +02:00
parent 7f7f3cc115
commit b5f3d961da
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
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,