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
427d45b8
Commit
427d45b8
authored
Mar 05, 2021
by
Nate Graham
Browse files
Port to singleton Units
parent
34b81ccb
Changes
3
Hide whitespace changes
Inline
Side-by-side
desktoppackage/contents/configuration/panelconfiguration/ToolBar.qml
View file @
427d45b8
...
...
@@ -143,7 +143,7 @@ Item {
}
}
DragHandler
{
property
int
magnitude
:
u
nits
.
gridUnit
property
int
magnitude
:
PlasmaCore
.
U
nits
.
gridUnit
target
:
null
xAxis.enabled
:
panel
.
location
==
PlasmaCore
.
Types
.
LeftEdge
||
panel
.
location
==
PlasmaCore
.
Types
.
RightEdge
yAxis.enabled
:
panel
.
location
==
PlasmaCore
.
Types
.
TopEdge
||
panel
.
location
==
PlasmaCore
.
Types
.
BottomEdge
...
...
desktoppackage/contents/views/Panel.qml
View file @
427d45b8
...
...
@@ -115,7 +115,7 @@ Item {
properties
:
"
opacity
"
from
:
1
to
:
0
duration
:
u
nits
.
veryLongDuration
duration
:
PlasmaCore
.
U
nits
.
veryLongDuration
easing.type
:
Easing
.
InOutQuad
}
ScriptAction
{
...
...
@@ -141,7 +141,7 @@ Item {
properties
:
"
opacity
"
from
:
0
to
:
1
duration
:
u
nits
.
veryLongDuration
duration
:
PlasmaCore
.
U
nits
.
veryLongDuration
easing.type
:
Easing
.
InOutQuad
}
ScriptAction
{
...
...
kcms/touchpad/applet/qml/contents/ui/touchpad.qml
View file @
427d45b8
...
...
@@ -79,7 +79,7 @@ Item {
Plasmoid.compactRepresentation
:
PlasmaCore.ToolTipArea
{
id
:
toolTip
Layout.minimumWidth
:
u
nits
.
iconSizes
.
small
Layout.minimumWidth
:
PlasmaCore
.
U
nits
.
iconSizes
.
small
Layout.minimumHeight
:
Layout
.
minimumWidth
mainText
:
plasmoid
.
title
...
...
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