Fix excessive vertical height taken by button
This commit is contained in:
parent
1f4bed40fc
commit
0cebd30600
2 changed files with 18 additions and 11 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue