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
Plasma
Plasma Desktop
Commits
be5925a9
Commit
be5925a9
authored
Apr 16, 2021
by
Nate Graham
Browse files
[kcm/keys] Replace hardcoded sizes with equivalent multiples of GridUnit
This lets them scale with the font size.
parent
8562853b
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/keys/package/contents/ui/main.qml
View file @
be5925a9
...
...
@@ -29,8 +29,8 @@ import org.kde.private.kcms.keys 2.0 as Private
KCM.AbstractKCM
{
id
:
root
implicitWidth
:
800
implicitHeight
:
600
implicitWidth
:
Kirigami
.
Units
.
gridUnit
*
44
implicitHeight
:
Kirigami
.
Units
.
gridUnit
*
33
property
alias
exportActive
:
exportInfo
.
visible
readonly
property
bool
errorOccured
:
kcm
.
lastError
!=
""
ColumnLayout
{
...
...
@@ -87,7 +87,7 @@ KCM.AbstractKCM {
columns
:
2
QQC2.ScrollView
{
Component.onCompleted
:
background
.
visible
=
true
Layout.preferredWidth
:
300
Layout.preferredWidth
:
Kirigami
.
Units
.
gridUnit
*
15
Layout.fillHeight
:
true
ListView
{
id
:
components
...
...
Write
Preview
Supports
Markdown
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