fix(header): fixed padding header buttons
This matches the custom header buttons to other header bar buttons and prevents the buttons being cut off when Spacious density is used, and makes them easier to click when Compact.
This commit is contained in:
parent
e5674da205
commit
830ef46cc1
3 changed files with 22 additions and 19 deletions
|
|
@ -3251,6 +3251,7 @@ impl Application for App {
|
|||
} else {
|
||||
elements.push(
|
||||
widget::button::icon(widget::icon::from_name("system-search-symbolic"))
|
||||
.padding(8)
|
||||
.on_press(Message::SearchActivate)
|
||||
.into(),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -283,7 +283,8 @@ pub fn dialog_menu<'a>(
|
|||
widget::button::icon(widget::icon::from_name(match tab.config.view {
|
||||
tab::View::Grid => "view-grid-symbolic",
|
||||
tab::View::List => "view-list-symbolic",
|
||||
})),
|
||||
}))
|
||||
.padding(8),
|
||||
menu::items(
|
||||
key_binds,
|
||||
vec![
|
||||
|
|
@ -305,7 +306,8 @@ pub fn dialog_menu<'a>(
|
|||
"view-sort-ascending-symbolic"
|
||||
} else {
|
||||
"view-sort-descending-symbolic"
|
||||
})),
|
||||
}))
|
||||
.padding(8),
|
||||
menu::items(
|
||||
key_binds,
|
||||
vec![
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue