Remove padding from ButtonSize::None (#3541)

This PR removes the padding from buttons when using `ButtonSize::None`.

This fixes the size of the tab close buttons.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-07 14:11:30 -05:00 committed by GitHub
parent 1fcd006b2a
commit 853daf953b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1481,7 +1481,6 @@ impl Pane {
})
.start_slot::<Indicator>(indicator)
.end_slot(
// TODO: Fix button size
IconButton::new("close tab", Icon::Close)
.icon_color(Color::Muted)
.size(ButtonSize::None)