Fix excessive vertical height taken by button

This commit is contained in:
Ian Douglas Scott 2023-12-14 16:29:45 -08:00
parent 1f4bed40fc
commit 0cebd30600
2 changed files with 18 additions and 11 deletions

View file

@ -62,11 +62,11 @@ pub struct WorkspaceBar<'a, Msg> {
impl<'a, Msg> Widget<Msg, cosmic::Renderer> for WorkspaceBar<'a, Msg> {
fn width(&self) -> Length {
Length::Shrink
Length::Fill
}
fn height(&self) -> Length {
Length::Shrink
Length::Fill
}
fn layout(