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
Plasma Workspace
Commits
785f9543
Commit
785f9543
authored
Nov 23, 2020
by
Nate Graham
Browse files
[kcms/feedback] Fix slider becoming wider with long header text
BUG: 429497
FIXED-IN: 5.21
parent
1ee1e599
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/feedback/package/contents/ui/main.qml
View file @
785f9543
...
...
@@ -74,6 +74,7 @@ SimpleKCM {
readonly
property
var
currentMode
:
modeOptions
[
value
]
Layout.fillWidth
:
true
Layout.minimumWidth
:
Kirigami
.
Units
.
gridUnit
*
21
Layout.maximumWidth
:
Kirigami
.
Units
.
gridUnit
*
21
readonly
property
var
modeOptions
:
[
UserFeedback
.
Provider
.
NoTelemetry
,
UserFeedback
.
Provider
.
BasicSystemInformation
,
UserFeedback
.
Provider
.
BasicUsageStatistics
,
UserFeedback
.
Provider
.
DetailedSystemInformation
,
UserFeedback
.
Provider
.
DetailedUsageStatistics
]
...
...
@@ -110,7 +111,7 @@ SimpleKCM {
Kirigami.Heading
{
Layout.alignment
:
Qt
.
AlignHCenter
Layout.maximumWidth
:
statisticsModeSlider
.
width
Layout.maximumWidth
:
Kirigami
.
Units
.
gridUnit
*
21
wrapMode
:
Text
.
WordWrap
level
:
3
text
:
feedbackController
.
telemetryName
(
statisticsModeSlider
.
currentMode
)
...
...
@@ -120,7 +121,7 @@ SimpleKCM {
}
QQC2.Label
{
Layout.alignment
:
Qt
.
AlignHCenter
Layout.maximumWidth
:
statisticsModeSlider
.
width
Layout.maximumWidth
:
Kirigami
.
Units
.
gridUnit
*
21
wrapMode
:
Text
.
WordWrap
text
:
i18n
(
"
The following information will be sent:
"
)
...
...
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