Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Frameworks
QQC2 Desktop Style
Commits
ac81ee85
Commit
ac81ee85
authored
Jun 06, 2020
by
Noah Davis
🌵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ToolSeparator styling
parent
ead03314
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
org.kde.desktop/ToolSeparator.qml
org.kde.desktop/ToolSeparator.qml
+31
-0
No files found.
org.kde.desktop/ToolSeparator.qml
0 → 100644
View file @
ac81ee85
/*
SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-or-later
*/
import
QtQuick
2.6
import
QtQuick
.
Templates
@
QQC2_VERSION
@
as
T
import
org
.
kde
.
kirigami
2.4
as
Kirigami
T.ToolSeparator
{
id
:
controlRoot
topPadding
:
0
bottomPadding
:
0
leftPadding
:
Kirigami
.
Units
.
smallSpacing
rightPadding
:
Kirigami
.
Units
.
smallSpacing
implicitWidth
:
separator
.
width
+
controlRoot
.
leftPadding
+
controlRoot
.
rightPadding
implicitHeight
:
parent
.
height
background
:
Kirigami.Separator
{
id
:
separator
anchors
{
top
:
controlRoot
.
top
bottom
:
controlRoot
.
bottom
horizontalCenter
:
controlRoot
.
horizontalCenter
}
}
}
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