Removed ContentMargin in DockContainer (#387)

This commit is contained in:
SleepProgger 2021-12-20 07:46:26 +01:00 committed by GitHub
parent 535b926095
commit 6fb45c055c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 3 deletions

View File

@ -1286,7 +1286,7 @@ CDockContainerWidget::CDockContainerWidget(CDockManager* DockManager, QWidget *p
d->isFloating = floatingWidget() != nullptr; d->isFloating = floatingWidget() != nullptr;
d->Layout = new QGridLayout(); d->Layout = new QGridLayout();
d->Layout->setContentsMargins(0, 1, 0, 1); d->Layout->setContentsMargins(0, 0, 0, 0);
d->Layout->setSpacing(0); d->Layout->setSpacing(0);
setLayout(d->Layout); setLayout(d->Layout);

View File

@ -4,6 +4,9 @@
ads--CDockContainerWidget { ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget > QSplitter{
padding: 1 0 1 0;
}
ads--CDockContainerWidget ads--CDockSplitter::handle { ads--CDockContainerWidget ads--CDockSplitter::handle {
background: palette(dark); background: palette(dark);

View File

@ -4,6 +4,9 @@
ads--CDockContainerWidget { ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget > QSplitter{
padding: 1 0 1 0;
}
ads--CDockContainerWidget ads--CDockSplitter::handle { ads--CDockContainerWidget ads--CDockSplitter::handle {
background: palette(dark); background: palette(dark);

View File

@ -4,6 +4,9 @@
ads--CDockContainerWidget { ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget > QSplitter{
padding: 1 0 1 0;
}
ads--CDockAreaWidget { ads--CDockAreaWidget {
background: palette(window); background: palette(window);

View File

@ -4,6 +4,10 @@
ads--CDockContainerWidget { ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget > QSplitter{
padding: 1 0 1 0;
}
ads--CDockContainerWidget ads--CDockSplitter::handle { ads--CDockContainerWidget ads--CDockSplitter::handle {
background: palette(dark); background: palette(dark);