Commit e6e1b5ed authored by Nate Graham's avatar Nate Graham
Browse files

Revert "Sidebar: Add workaround for horizontal scrollbar bug"

This reverts commit 8c865d19.

This change was not adequately tested and caused crashes. In addition,
unrelated changes snuck in somehow.
parent 8c865d19
Pipeline #225385 passed with stage
in 1 minute and 8 seconds
......@@ -144,7 +144,6 @@ ModuleView::ModuleView(QWidget *parent)
rootLayout->setSpacing(0);
// Configure a layout first
d->mLayout = new QVBoxLayout();
d->mLayout->setSpacing(250);
// Create the Page Widget
d->mPageWidget = new KPageWidget(this);
d->mCustomHeader = new CustomTitle(this);
......@@ -158,7 +157,7 @@ ModuleView::ModuleView(QWidget *parent)
// Zero out only the horizontal spacing (the vertical spacing is fine)
QGridLayout *gridLayout = static_cast<QGridLayout *>(d->mPageWidget->layout());
gridLayout->setHorizontalSpacing(80);
gridLayout->setHorizontalSpacing(0);
d->mLayout->addWidget(d->mPageWidget);
// Create the dialog
......
......@@ -18,9 +18,6 @@ Kirigami.ScrollablePage {
Kirigami.Theme.colorSet: Kirigami.Theme.View
Kirigami.Theme.inherit: false
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
header: Kirigami.AbstractApplicationHeader {
id: pageHeader
......
......@@ -18,9 +18,6 @@ Kirigami.ScrollablePage {
Kirigami.Theme.colorSet: Kirigami.Theme.View
Kirigami.Theme.inherit: false
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
header: Kirigami.AbstractApplicationHeader {
id: pageHeader
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment