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
PIM
KMail
Commits
55e524f1
Commit
55e524f1
authored
Feb 01, 2022
by
Tobias Leupold
Browse files
Prevent all other tabs from being inheriting the "general" height
parent
25a1a0cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/configuredialog/configurecomposerpage.cpp
View file @
55e524f1
...
...
@@ -43,6 +43,7 @@ using PimCommon::RecentAddresses;
#include
<QLabel>
#include
<QRegularExpression>
#include
<QRegularExpressionValidator>
#include
<QScrollArea>
#include
<QTextCodec>
#include
<QVBoxLayout>
...
...
@@ -124,7 +125,9 @@ ComposerPageGeneralTab::ComposerPageGeneralTab(QWidget *parent)
:
ConfigModuleTab
(
parent
)
{
// Main layout
auto
layout
=
new
QVBoxLayout
(
this
);
auto
mainLayout
=
new
QVBoxLayout
(
this
);
auto
wrapper
=
new
QWidget
;
auto
layout
=
new
QVBoxLayout
(
wrapper
);
// "Signature" group
auto
groupBox
=
new
QGroupBox
(
i18nc
(
"@title:group"
,
"Signature"
));
...
...
@@ -457,6 +460,12 @@ ComposerPageGeneralTab::ComposerPageGeneralTab(QWidget *parent)
groupBox
->
setLayout
(
groupGridLayout
);
layout
->
addWidget
(
groupBox
);
// Prevent all other tabs to inherit the height of this one
auto
scrollArea
=
new
QScrollArea
;
scrollArea
->
setWidgetResizable
(
true
);
scrollArea
->
setWidget
(
wrapper
);
mainLayout
->
addWidget
(
scrollArea
);
}
void
ComposerPageGeneralTab
::
doResetToDefaultsOther
()
...
...
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