diff --git a/src/ViewSplitter.h b/src/ViewSplitter.h --- a/src/ViewSplitter.h +++ b/src/ViewSplitter.h @@ -126,6 +126,8 @@ void handleFocusDirection(Qt::Orientation orientation, int direction); void childEvent(QChildEvent* event) override; + + void applyKonsoleSettings(); private: void updateSizes(); }; diff --git a/src/ViewSplitter.cpp b/src/ViewSplitter.cpp --- a/src/ViewSplitter.cpp +++ b/src/ViewSplitter.cpp @@ -30,6 +30,7 @@ // Konsole #include "ViewContainer.h" #include "TerminalDisplay.h" +#include "KonsoleSettings.h" using Konsole::ViewSplitter; using Konsole::TerminalDisplay; @@ -39,6 +40,13 @@ ViewSplitter::ViewSplitter(QWidget *parent) : QSplitter(parent) { + connect(KonsoleSettings::self(), &Konsole::KonsoleSettings::configChanged, this, + &ViewSplitter::applyKonsoleSettings); + applyKonsoleSettings(); +} + +void ViewSplitter::applyKonsoleSettings() { + setHandleWidth(KonsoleSettings::self()->draggerSize()); } void ViewSplitter::adjustActiveTerminalDisplaySize(int percentage) diff --git a/src/settings/TabBarSettings.ui b/src/settings/TabBarSettings.ui --- a/src/settings/TabBarSettings.ui +++ b/src/settings/TabBarSettings.ui @@ -6,15 +6,28 @@ 0 0 - 503 + 456 375 + + + + Qt::Vertical + + + + 20 + 4 + + + + - Appearance + Tab Appearance @@ -124,22 +137,15 @@ - - - - Expand Individual Tab Widths to Full Window - - - 2 0 - + text/css @@ -158,13 +164,20 @@ + + + + Expand Individual Tab Widths to Full Window + + + - Behavior + Tab Behavior @@ -200,18 +213,37 @@ - - - - Qt::Vertical - - - - 20 - 4 - + + + + Splits - + + + + + Dragger size + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + @@ -223,7 +255,7 @@ KUrlRequester - QFrame + QWidget
kurlrequester.h
1
diff --git a/src/settings/konsole.kcfg b/src/settings/konsole.kcfg --- a/src/settings/konsole.kcfg +++ b/src/settings/konsole.kcfg @@ -120,6 +120,11 @@ false + + + Sets the size of the Splitter dragger + 2 +