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->Layout = new QGridLayout();
d->Layout->setContentsMargins(0, 1, 0, 1);
d->Layout->setContentsMargins(0, 0, 0, 0);
d->Layout->setSpacing(0);
setLayout(d->Layout);

View File

@ -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;
}
}

View File

@ -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);

View File

@ -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;
}
}

View File

@ -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);