From 31b7abd81f7e01d5c8575373dc18bb4edddf74c5 Mon Sep 17 00:00:00 2001 From: Nicolai Sehrt Date: Sat, 31 Jan 2026 15:57:43 +0000 Subject: tab settings: add tab style Add a Full Width option and a Fixed Size option. This removes the current behavior of adapting to tab name, i.e folder name. --- src/dolphintabbar.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphintabbar.h') diff --git a/src/dolphintabbar.h b/src/dolphintabbar.h index 1210b974e..54eeea774 100644 --- a/src/dolphintabbar.h +++ b/src/dolphintabbar.h @@ -24,6 +24,8 @@ Q_SIGNALS: void tabRenamed(int index, const QString &label); protected: + QSize tabSizeHint(int index) const override; + QSize minimumSizeHint() const override; void dragEnterEvent(QDragEnterEvent *event) override; void dragLeaveEvent(QDragLeaveEvent *event) override; void dragMoveEvent(QDragMoveEvent *event) override; @@ -39,6 +41,7 @@ protected: private Q_SLOTS: void slotAutoActivationTimeout(); + void slotTabBarChanged(); private: /** -- cgit v1.3.1