disable autohide on single tab opened

This commit is contained in:
yggverse 2024-10-11 03:18:43 +03:00
parent 2630fa9283
commit 9a42f833d4

View File

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