mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 07:54:14 +00:00
disable tabs expand
This commit is contained in:
parent
9a42f833d4
commit
fc0ea9cfa7
@ -9,7 +9,11 @@ impl Widget {
|
|||||||
// Construct
|
// Construct
|
||||||
pub fn new_arc(view: &TabView) -> Arc<Self> {
|
pub fn new_arc(view: &TabView) -> Arc<Self> {
|
||||||
Arc::new(Self {
|
Arc::new(Self {
|
||||||
gobject: TabBar::builder().view(&view).autohide(false).build(),
|
gobject: TabBar::builder()
|
||||||
|
.autohide(false)
|
||||||
|
.expand_tabs(false)
|
||||||
|
.view(&view)
|
||||||
|
.build(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user