Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KPat
Commits
9b2c2df4
Commit
9b2c2df4
authored
Jun 08, 2021
by
Michael Lang
Committed by
Albert Astals Cid
Jun 08, 2021
Browse files
kcardthemewidget: Match margins of the other page and align button to the right
parent
c42b14b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libkcardgame/kcardthemewidget.cpp
View file @
9b2c2df4
...
...
@@ -396,10 +396,11 @@ KCardThemeWidget::KCardThemeWidget( const QSet<QString> & requiredFeatures, cons
connect
(
d
->
newDeckButton
,
&
QAbstractButton
::
clicked
,
d
,
&
KCardThemeWidgetPrivate
::
getNewCardThemes
);
QHBoxLayout
*
hLayout
=
new
QHBoxLayout
();
hLayout
->
addWidget
(
d
->
newDeckButton
);
hLayout
->
addStretch
(
1
);
hLayout
->
addWidget
(
d
->
newDeckButton
);
QVBoxLayout
*
layout
=
new
QVBoxLayout
(
this
);
layout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
layout
->
addWidget
(
d
->
listView
);
layout
->
addWidget
(
d
->
hiddenLineEdit
);
layout
->
addLayout
(
hLayout
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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