From fc0ea9cfa79ce0203465faf398249f4170394a70 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 11 Oct 2024 03:21:13 +0300 Subject: [PATCH] disable tabs expand --- src/app/browser/window/header/bar/tab/widget.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/header/bar/tab/widget.rs b/src/app/browser/window/header/bar/tab/widget.rs index d89d83dc..13f848cc 100644 --- a/src/app/browser/window/header/bar/tab/widget.rs +++ b/src/app/browser/window/header/bar/tab/widget.rs @@ -9,7 +9,11 @@ impl Widget { // Construct pub fn new_arc(view: &TabView) -> Arc { Arc::new(Self { - gobject: TabBar::builder().view(&view).autohide(false).build(), + gobject: TabBar::builder() + .autohide(false) + .expand_tabs(false) + .view(&view) + .build(), }) }