Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qtquickcontrols-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
qtquickcontrols-nemo
Commits
b08594ec
Commit
b08594ec
authored
Apr 09, 2017
by
Chupligin Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ListViewItemWithAction] add scaling
parent
affcc596
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
ListViewItemWithActions.qml
src/controls/ListViewItemWithActions.qml
+12
-12
No files found.
src/controls/ListViewItemWithActions.qml
View file @
b08594ec
...
...
@@ -66,13 +66,13 @@ Item {
Image
{
id
:
itemIcon
height
:
parent
.
height
-
10
height
:
parent
.
height
-
size
.
dp
(
10
)
width
:
height
anchors
{
left
:
parent
.
left
leftMargin
:
20
leftMargin
:
size
.
dp
(
20
)
top
:
parent
.
top
topMargin
:
5
topMargin
:
size
.
dp
(
5
)
}
sourceSize.width
:
width
...
...
@@ -84,13 +84,13 @@ Item {
Rectangle
{
id
:
dataArea
width
:
parent
.
width
-
itemIcon
.
width
-
arrowItem
.
width
-
60
width
:
parent
.
width
-
itemIcon
.
width
-
arrowItem
.
width
-
size
.
dp
(
60
)
height
:
labelItem
.
height
+
(
description
!=
""
?
descriptionItem
.
height
:
0
)
+
(
subdescription
!=
""
?
subDescriptionItem
.
height
:
0
)
clip
:
true
anchors
{
left
:
itemIcon
.
right
leftMargin
:
20
leftMargin
:
size
.
dp
(
20
)
verticalCenter
:
itemIcon
.
verticalCenter
}
color
:
"
transparent
"
...
...
@@ -103,7 +103,7 @@ Item {
left
:
parent
.
left
right
:
parent
.
right
}
font.pixelSize
:
30
font.pixelSize
:
size
.
dp
(
30
)
clip
:
true
}
...
...
@@ -116,7 +116,7 @@ Item {
right
:
parent
.
right
top
:
labelItem
.
bottom
}
font.pixelSize
:
18
font.pixelSize
:
size
.
dp
(
18
)
clip
:
true
visible
:
description
!=
""
}
...
...
@@ -130,13 +130,13 @@ Item {
right
:
parent
.
right
top
:
descriptionItem
.
bottom
}
font.pixelSize
:
18
font.pixelSize
:
size
.
dp
(
18
)
clip
:
true
visible
:
subdescription
!=
""
}
Item
{
width
:
15
width
:
size
.
dp
(
15
)
height
:
parent
.
height
anchors
{
top
:
parent
.
top
...
...
@@ -146,7 +146,7 @@ Item {
LinearGradient
{
anchors.fill
:
parent
start
:
Qt
.
point
(
0
,
0
)
end
:
Qt
.
point
(
15
,
0
)
end
:
Qt
.
point
(
size
.
dp
(
15
)
,
0
)
gradient
:
Gradient
{
GradientStop
{
position
:
0.0
;
color
:
"
transparent
"
}
GradientStop
{
position
:
1.0
;
color
:
"
black
"
}
...
...
@@ -157,12 +157,12 @@ Item {
Image
{
id
:
arrowItem
height
:
parent
.
height
-
10
height
:
parent
.
height
-
size
.
dp
(
10
)
width
:
height
anchors
{
right
:
parent
.
right
rightMargin
:
20
rightMargin
:
size
.
dp
(
20
)
verticalCenter
:
parent
.
verticalCenter
}
...
...
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