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
e95df7e2
Commit
e95df7e2
authored
Feb 27, 2016
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #43 from M2ko/master
[scaling] Scaling of homescreen icons and applauncher
parents
1f908037
35e69efd
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 @
e95df7e2
...
...
@@ -32,7 +32,7 @@ import QtQuick.Controls.Styles.Nemo 1.0
GridView
{
id
:
gridview
cellWidth
:
115
cellWidth
:
parent
.
width
/
4
cellHeight
:
cellWidth
+
30
width
:
Math
.
floor
(
parent
.
width
/
cellWidth
)
*
cellWidth
cacheBuffer
:
gridview
.
contentHeight
...
...
src/qml/LauncherItemDelegate.qml
View file @
e95df7e2
...
...
@@ -58,7 +58,7 @@ Item {
anchors.top
:
parent
.
bottom
width
:
gridview
.
width
height
:
childrenRect
.
height
cellWidth
:
115
cellWidth
:
gridview
.
cellWidth
cellHeight
:
cellWidth
+
30
Rectangle
{
anchors.fill
:
parent
...
...
@@ -79,7 +79,7 @@ Item {
width
:
parent
.
width
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
font.pixelSize
:
18
font.pixelSize
:
gridview
.
cellWidth
/
10
color
:
'
white
'
anchors
{
left
:
parent
.
left
...
...
@@ -206,7 +206,7 @@ Item {
top
:
parent
.
top
topMargin
:
8
}
width
:
10
0
width
:
gridview
.
cellWidth
-
gridview
.
cellWidth
/
1
0
height
:
width
asynchronous
:
true
...
...
@@ -224,7 +224,7 @@ Item {
width
:
parent
.
width
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
font.pixelSize
:
18
font.pixelSize
:
gridview
.
cellWidth
/
10
color
:
'
white
'
anchors
{
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