disable tabs expand

This commit is contained in:
yggverse 2024-10-11 03:21:13 +03:00
parent 9a42f833d4
commit fc0ea9cfa7

View File

@ -9,7 +9,11 @@ impl Widget {
// Construct
pub fn new_arc(view: &TabView) -> Arc<Self> {
Arc::new(Self {
gobject: TabBar::builder().view(&view).autohide(false).build(),
gobject: TabBar::builder()
.autohide(false)
.expand_tabs(false)
.view(&view)
.build(),
})
}