Fix tabs layout

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-03-31 17:57:00 +02:00
co-authored by Nathan Sobo
parent c55d99022e
commit d5a9bab4a0
3 changed files with 13 additions and 3 deletions
+5
View File
@@ -53,6 +53,11 @@ impl Container {
self
}
pub fn with_padding_bottom(mut self, padding: f32) -> Self {
self.padding.bottom = padding;
self
}
pub fn with_background_color(mut self, color: impl Into<ColorU>) -> Self {
self.background_color = Some(color.into());
self