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 SDK
Commits
0ac889af
Commit
0ac889af
authored
Oct 28, 2020
by
Nate Graham
Browse files
[cuttlefish] Fix a few cases of using ambiguous context property units
parent
8ef3c408
Changes
2
Hide whitespace changes
Inline
Side-by-side
cuttlefish/package/contents/ui/Tools.qml
View file @
0ac889af
...
...
@@ -47,7 +47,7 @@ QQC2.ToolBar {
QQC2.ComboBox
{
id
:
catsCombo
Layout.preferredWidth
:
u
nits
.
gridUnit
*
6
Layout.preferredWidth
:
Kirigami
.
U
nits
.
gridUnit
*
6
model
:
iconModel
.
categories
onActivated
:
{
if
(
currentText
==
"
all
"
)
{
...
...
@@ -62,7 +62,7 @@ QQC2.ToolBar {
QQC2.Slider
{
visible
:
cuttlefish
.
widescreen
id
:
sizeslider
Layout.preferredWidth
:
preview
.
width
-
u
nits
.
gridUnit
*
2
Layout.preferredWidth
:
preview
.
width
-
Kirigami
.
U
nits
.
gridUnit
*
2
to
:
6.0
stepSize
:
1.0
...
...
@@ -92,7 +92,7 @@ QQC2.ToolBar {
visible
:
cuttlefish
.
widescreen
id
:
pixelSizeInput
Layout.preferredWidth
:
u
nits
.
gridUnit
*
3
Layout.preferredWidth
:
Kirigami
.
U
nits
.
gridUnit
*
3
}
QQC2.Label
{
visible
:
cuttlefish
.
widescreen
...
...
cuttlefish/package/contents/ui/ToolsResponsive.qml
View file @
0ac889af
...
...
@@ -57,7 +57,7 @@ QQC2.ToolBar {
visible
:
!
cuttlefish
.
widescreen
id
:
pixelSizeInput
Layout.preferredWidth
:
u
nits
.
gridUnit
*
1
Layout.preferredWidth
:
Kirigami
.
U
nits
.
gridUnit
}
QQC2.ComboBox
{
id
:
colorcombo
...
...
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