Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
System Settings
Commits
1777bb65
Commit
1777bb65
authored
Oct 30, 2020
by
Ismael Asensio
Committed by
Nate Graham
Oct 30, 2020
Browse files
Remove extra top spacing for QWidget KCMs
parent
9582a455
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/ModuleView.cpp
View file @
1777bb65
...
...
@@ -107,7 +107,7 @@ void CustomTitle::paintEvent(QPaintEvent *event)
const
QColor
window
=
palette
().
color
(
QPalette
::
Window
);
const
QColor
text
=
palette
().
color
(
QPalette
::
Text
);
const
qreal
balance
=
0.2
;
const
QColor
separator
=
QColor
::
fromHsv
(
std
::
fmod
(
linearlyInterpolateDouble
(
window
.
hue
(),
text
.
hue
(),
balance
),
360.0
),
qBound
(
0.0
,
linearlyInterpolateDouble
(
window
.
saturation
(),
text
.
saturation
(),
balance
),
255.0
),
...
...
@@ -143,6 +143,7 @@ ModuleView::ModuleView( QWidget * parent )
{
QVBoxLayout
*
rootLayout
=
new
QVBoxLayout
(
this
);
rootLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
rootLayout
->
setSpacing
(
0
);
// Configure a layout first
d
->
mLayout
=
new
QVBoxLayout
();
// Create the Page Widget
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment