Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
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
glacier-home
Commits
35e69efd
Commit
35e69efd
authored
Feb 20, 2016
by
m2ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[scaling] Scaling of homescreen icons and applauncher
parent
1f908037
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
AppLauncher.qml
src/qml/AppLauncher.qml
+1
-1
LauncherItemDelegate.qml
src/qml/LauncherItemDelegate.qml
+4
-4
No files found.
src/qml/AppLauncher.qml
View file @
35e69efd
...
@@ -32,7 +32,7 @@ import QtQuick.Controls.Styles.Nemo 1.0
...
@@ -32,7 +32,7 @@ import QtQuick.Controls.Styles.Nemo 1.0
GridView
{
GridView
{
id
:
gridview
id
:
gridview
cellWidth
:
115
cellWidth
:
parent
.
width
/
4
cellHeight
:
cellWidth
+
30
cellHeight
:
cellWidth
+
30
width
:
Math
.
floor
(
parent
.
width
/
cellWidth
)
*
cellWidth
width
:
Math
.
floor
(
parent
.
width
/
cellWidth
)
*
cellWidth
cacheBuffer
:
gridview
.
contentHeight
cacheBuffer
:
gridview
.
contentHeight
...
...
src/qml/LauncherItemDelegate.qml
View file @
35e69efd
...
@@ -58,7 +58,7 @@ Item {
...
@@ -58,7 +58,7 @@ Item {
anchors.top
:
parent
.
bottom
anchors.top
:
parent
.
bottom
width
:
gridview
.
width
width
:
gridview
.
width
height
:
childrenRect
.
height
height
:
childrenRect
.
height
cellWidth
:
115
cellWidth
:
gridview
.
cellWidth
cellHeight
:
cellWidth
+
30
cellHeight
:
cellWidth
+
30
Rectangle
{
Rectangle
{
anchors.fill
:
parent
anchors.fill
:
parent
...
@@ -79,7 +79,7 @@ Item {
...
@@ -79,7 +79,7 @@ Item {
width
:
parent
.
width
width
:
parent
.
width
elide
:
Text
.
ElideRight
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
font.pixelSize
:
18
font.pixelSize
:
gridview
.
cellWidth
/
10
color
:
'
white
'
color
:
'
white
'
anchors
{
anchors
{
left
:
parent
.
left
left
:
parent
.
left
...
@@ -206,7 +206,7 @@ Item {
...
@@ -206,7 +206,7 @@ Item {
top
:
parent
.
top
top
:
parent
.
top
topMargin
:
8
topMargin
:
8
}
}
width
:
10
0
width
:
gridview
.
cellWidth
-
gridview
.
cellWidth
/
1
0
height
:
width
height
:
width
asynchronous
:
true
asynchronous
:
true
...
@@ -224,7 +224,7 @@ Item {
...
@@ -224,7 +224,7 @@ Item {
width
:
parent
.
width
width
:
parent
.
width
elide
:
Text
.
ElideRight
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
font.pixelSize
:
18
font.pixelSize
:
gridview
.
cellWidth
/
10
color
:
'
white
'
color
:
'
white
'
anchors
{
anchors
{
left
:
parent
.
left
left
:
parent
.
left
...
...
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