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
Hide 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 {
...
@@ -66,13 +66,13 @@ Item {
Image
{
Image
{
id
:
itemIcon
id
:
itemIcon
height
:
parent
.
height
-
10
height
:
parent
.
height
-
size
.
dp
(
10
)
width
:
height
width
:
height
anchors
{
anchors
{
left
:
parent
.
left
left
:
parent
.
left
leftMargin
:
20
leftMargin
:
size
.
dp
(
20
)
top
:
parent
.
top
top
:
parent
.
top
topMargin
:
5
topMargin
:
size
.
dp
(
5
)
}
}
sourceSize.width
:
width
sourceSize.width
:
width
...
@@ -84,13 +84,13 @@ Item {
...
@@ -84,13 +84,13 @@ Item {
Rectangle
{
Rectangle
{
id
:
dataArea
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
)
height
:
labelItem
.
height
+
(
description
!=
""
?
descriptionItem
.
height
:
0
)
+
(
subdescription
!=
""
?
subDescriptionItem
.
height
:
0
)
clip
:
true
clip
:
true
anchors
{
anchors
{
left
:
itemIcon
.
right
left
:
itemIcon
.
right
leftMargin
:
20
leftMargin
:
size
.
dp
(
20
)
verticalCenter
:
itemIcon
.
verticalCenter
verticalCenter
:
itemIcon
.
verticalCenter
}
}
color
:
"
transparent
"
color
:
"
transparent
"
...
@@ -103,7 +103,7 @@ Item {
...
@@ -103,7 +103,7 @@ Item {
left
:
parent
.
left
left
:
parent
.
left
right
:
parent
.
right
right
:
parent
.
right
}
}
font.pixelSize
:
30
font.pixelSize
:
size
.
dp
(
30
)
clip
:
true
clip
:
true
}
}
...
@@ -116,7 +116,7 @@ Item {
...
@@ -116,7 +116,7 @@ Item {
right
:
parent
.
right
right
:
parent
.
right
top
:
labelItem
.
bottom
top
:
labelItem
.
bottom
}
}
font.pixelSize
:
18
font.pixelSize
:
size
.
dp
(
18
)
clip
:
true
clip
:
true
visible
:
description
!=
""
visible
:
description
!=
""
}
}
...
@@ -130,13 +130,13 @@ Item {
...
@@ -130,13 +130,13 @@ Item {
right
:
parent
.
right
right
:
parent
.
right
top
:
descriptionItem
.
bottom
top
:
descriptionItem
.
bottom
}
}
font.pixelSize
:
18
font.pixelSize
:
size
.
dp
(
18
)
clip
:
true
clip
:
true
visible
:
subdescription
!=
""
visible
:
subdescription
!=
""
}
}
Item
{
Item
{
width
:
15
width
:
size
.
dp
(
15
)
height
:
parent
.
height
height
:
parent
.
height
anchors
{
anchors
{
top
:
parent
.
top
top
:
parent
.
top
...
@@ -146,7 +146,7 @@ Item {
...
@@ -146,7 +146,7 @@ Item {
LinearGradient
{
LinearGradient
{
anchors.fill
:
parent
anchors.fill
:
parent
start
:
Qt
.
point
(
0
,
0
)
start
:
Qt
.
point
(
0
,
0
)
end
:
Qt
.
point
(
15
,
0
)
end
:
Qt
.
point
(
size
.
dp
(
15
)
,
0
)
gradient
:
Gradient
{
gradient
:
Gradient
{
GradientStop
{
position
:
0.0
;
color
:
"
transparent
"
}
GradientStop
{
position
:
0.0
;
color
:
"
transparent
"
}
GradientStop
{
position
:
1.0
;
color
:
"
black
"
}
GradientStop
{
position
:
1.0
;
color
:
"
black
"
}
...
@@ -157,12 +157,12 @@ Item {
...
@@ -157,12 +157,12 @@ Item {
Image
{
Image
{
id
:
arrowItem
id
:
arrowItem
height
:
parent
.
height
-
10
height
:
parent
.
height
-
size
.
dp
(
10
)
width
:
height
width
:
height
anchors
{
anchors
{
right
:
parent
.
right
right
:
parent
.
right
rightMargin
:
20
rightMargin
:
size
.
dp
(
20
)
verticalCenter
:
parent
.
verticalCenter
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