diff --git a/src/DockContainerWidget.cpp b/src/DockContainerWidget.cpp index 797fbb2..63a049b 100644 --- a/src/DockContainerWidget.cpp +++ b/src/DockContainerWidget.cpp @@ -1286,7 +1286,7 @@ CDockContainerWidget::CDockContainerWidget(CDockManager* DockManager, QWidget *p d->isFloating = floatingWidget() != nullptr; d->Layout = new QGridLayout(); - d->Layout->setContentsMargins(0, 1, 0, 1); + d->Layout->setContentsMargins(0, 0, 0, 0); d->Layout->setSpacing(0); setLayout(d->Layout); diff --git a/src/stylesheets/default.css b/src/stylesheets/default.css index 6ae011a..7952bd1 100644 --- a/src/stylesheets/default.css +++ b/src/stylesheets/default.css @@ -4,6 +4,9 @@ ads--CDockContainerWidget { background: palette(dark); } +ads--CDockContainerWidget > QSplitter{ + padding: 1 0 1 0; +} ads--CDockContainerWidget ads--CDockSplitter::handle { background: palette(dark); @@ -90,4 +93,4 @@ QScrollArea#dockWidgetScrollArea { qproperty-icon: url(:/ads/images/detach-button.svg), url(:/ads/images/detach-button-disabled.svg) disabled; qproperty-iconSize: 16px; -} \ No newline at end of file +} diff --git a/src/stylesheets/default_linux.css b/src/stylesheets/default_linux.css index bf7f336..ac41491 100644 --- a/src/stylesheets/default_linux.css +++ b/src/stylesheets/default_linux.css @@ -4,6 +4,9 @@ ads--CDockContainerWidget { background: palette(dark); } +ads--CDockContainerWidget > QSplitter{ + padding: 1 0 1 0; +} ads--CDockContainerWidget ads--CDockSplitter::handle { background: palette(dark); diff --git a/src/stylesheets/focus_highlighting.css b/src/stylesheets/focus_highlighting.css index 50f80e6..5551721 100644 --- a/src/stylesheets/focus_highlighting.css +++ b/src/stylesheets/focus_highlighting.css @@ -4,6 +4,9 @@ ads--CDockContainerWidget { background: palette(dark); } +ads--CDockContainerWidget > QSplitter{ + padding: 1 0 1 0; +} ads--CDockAreaWidget { background: palette(window); @@ -123,4 +126,4 @@ ads--CDockAreaWidget[focused="true"] ads--CDockAreaTitleBar { background: transparent; border-bottom: 2px solid palette(highlight); padding-bottom: 0px; -} \ No newline at end of file +} diff --git a/src/stylesheets/focus_highlighting_linux.css b/src/stylesheets/focus_highlighting_linux.css index 888092f..f16ab5e 100644 --- a/src/stylesheets/focus_highlighting_linux.css +++ b/src/stylesheets/focus_highlighting_linux.css @@ -4,6 +4,10 @@ ads--CDockContainerWidget { background: palette(dark); } +ads--CDockContainerWidget > QSplitter{ + padding: 1 0 1 0; +} + ads--CDockContainerWidget ads--CDockSplitter::handle { background: palette(dark);