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
4dd1e103
Commit
4dd1e103
authored
Aug 18, 2017
by
Aleksi Suomalainen
Committed by
GitHub
Aug 18, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #62 from eekkelund/fontScaling
[Scaling] Request to change fontSize to font.pixelSize
parents
419a1e79
26023413
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
27 additions
and
44 deletions
+27
-44
AppLauncher.qml
src/qml/AppLauncher.qml
+2
-2
AppSwitcher.qml
src/qml/AppSwitcher.qml
+1
-1
DeviceLockUI.qml
src/qml/DeviceLockUI.qml
+11
-19
FeedsPage.qml
src/qml/FeedsPage.qml
+2
-2
LockscreenClock.qml
src/qml/LockscreenClock.qml
+2
-2
SearchListView.qml
src/qml/SearchListView.qml
+3
-3
SwitcherItem.qml
src/qml/SwitcherItem.qml
+0
-9
NotificationItem.qml
src/qml/notifications/NotificationItem.qml
+2
-2
NotificationPreview.qml
src/qml/notifications/NotificationPreview.qml
+2
-2
CommonPanel.qml
src/qml/statusbar/CommonPanel.qml
+1
-1
WifiPanel.qml
src/qml/statusbar/WifiPanel.qml
+1
-1
No files found.
src/qml/AppLauncher.qml
View file @
4dd1e103
...
...
@@ -222,7 +222,7 @@ GridView {
width
:
parent
.
width
anchors.centerIn
:
parent
text
:
qsTr
(
"
Remove
"
)
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Small
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
...
...
@@ -249,7 +249,7 @@ GridView {
width
:
parent
.
width
anchors.centerIn
:
parent
text
:
qsTr
(
"
Uninstall
"
)
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Small
elide
:
Text
.
ElideRight
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
...
...
src/qml/AppSwitcher.qml
View file @
4dd1e103
...
...
@@ -67,7 +67,7 @@ Item {
left
:
parent
.
left
}
font.weight
:
Font
.
Light
font.pixelSize
:
Theme
.
fontSize
Extra
Large
font.pixelSize
:
Theme
.
fontSizeLarge
}
}
Flickable
{
...
...
src/qml/DeviceLockUI.qml
View file @
4dd1e103
...
...
@@ -55,7 +55,7 @@ Item {
ColumnLayout
{
anchors.fill
:
parent
spacing
:
Theme
.
itemSpacing
Large
spacing
:
Theme
.
itemSpacing
ExtraSmall
SequentialAnimation
{
id
:
animation
;
...
...
@@ -77,7 +77,7 @@ Item {
anchors.horizontalCenter
:
parent
.
horizontalCenter
readOnly
:
true
echoMode
:
TextInput
.
PasswordEchoOnEdit
font.pixelSize
:
Theme
.
fontSize
ExtraLarge
font.pixelSize
:
Theme
.
fontSize
Medium
}
GridLayout
{
...
...
@@ -90,27 +90,19 @@ Item {
model
:
[
"
1
"
,
"
2
"
,
"
3
"
,
"
4
"
,
"
5
"
,
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
,
"
Ca
"
,
"
0
"
,
"
OK
"
]
delegate
:
Button
{
height
:
Theme
.
itemHeightHuge
width
:
Theme
.
itemHeightHuge
Layout.maximumWidth
:
Theme
.
itemHeightHuge
*
1.5
Layout.maximumHeight
:
Theme
.
itemHeightHuge
*
1.5
Label
{
id
:
btnLabel
text
:
modelData
font.pixelSize
:
Theme
.
fontSizeExtraLarge
*
1.5
anchors
{
centerIn
:
parent
}
}
id
:
button
Layout.maximumWidth
:
Theme
.
itemWidthSmall
Layout.maximumHeight
:
Theme
.
itemHeightHuge
*
2
Layout.minimumHeight
:
Theme
.
itemHeightHuge
*
1.5
text
:
modelData
onClicked
:
{
if
(
b
tnLabel
.
text
!==
"
Ca
"
&&
btnLabel
.
text
!==
"
OK
"
)
{
lockCodeField
.
insert
(
lockCodeField
.
cursorPosition
,
b
tnLabel
.
text
)
if
(
b
utton
.
text
!==
"
Ca
"
&&
button
.
text
!==
"
OK
"
)
{
lockCodeField
.
insert
(
lockCodeField
.
cursorPosition
,
b
utton
.
text
)
}
else
{
if
(
b
tnLabel
.
text
===
"
OK
"
)
{
if
(
b
utton
.
text
===
"
OK
"
)
{
authenticator
.
enterLockCode
(
lockCodeField
.
text
)
lockCodeField
.
text
=
""
}
else
if
(
b
tnLabel
.
text
===
"
Ca
"
){
}
else
if
(
b
utton
.
text
===
"
Ca
"
){
lockCodeField
.
text
=
""
}
}
...
...
src/qml/FeedsPage.qml
View file @
4dd1e103
...
...
@@ -59,7 +59,7 @@ Flickable {
id
:
displayDayOfWeek
text
:
Qt
.
formatDateTime
(
wallClock
.
time
,
"
dddd
"
)
color
:
Theme
.
textColor
font.pixelSize
:
Theme
.
fontSize
Extra
Large
font.pixelSize
:
Theme
.
fontSizeLarge
font.weight
:
Font
.
Bold
anchors
{
top
:
parent
.
top
...
...
@@ -71,7 +71,7 @@ Flickable {
Label
{
id
:
displayCurrentDate
text
:
Qt
.
formatDate
(
wallClock
.
time
,
"
d MMMM yyyy
"
)
font.pixelSize
:
Theme
.
fontSize
Extra
Large
font.pixelSize
:
Theme
.
fontSizeLarge
color
:
Theme
.
textColor
font.weight
:
Font
.
Light
wrapMode
:
Text
.
WordWrap
...
...
src/qml/LockscreenClock.qml
View file @
4dd1e103
...
...
@@ -51,7 +51,7 @@ Rectangle {
Label
{
id
:
weekdayDisplay
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Medium
color
:
Theme
.
textColor
horizontalAlignment
:
Text
.
AlignHCenter
font.weight
:
Font
.
Bold
...
...
@@ -65,7 +65,7 @@ Rectangle {
Label
{
id
:
dateDisplay
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Medium
color
:
Theme
.
textColor
horizontalAlignment
:
Text
.
AlignHCenter
font.weight
:
Font
.
Light
...
...
src/qml/SearchListView.qml
View file @
4dd1e103
...
...
@@ -107,7 +107,7 @@ Item {
}
font
.
capitalization
:
Font
.
AllUppercase
font
.
pixelSize
:
Theme
.
fontSize
Medium
font
.
pixelSize
:
Theme
.
fontSize
Small
color
:
Theme
.
textColor
anchors
{
left
:
parent
.
left
...
...
@@ -294,7 +294,7 @@ Item {
left
:
parent
.
left
right
:
parent
.
right
}
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Medium
color
:
Theme
.
textColor
elide
:
Text
.
ElideRight
verticalAlignment
:
Text
.
AlignVCenter
...
...
@@ -306,7 +306,7 @@ Item {
top
:
mainLabel
.
bottom
left
:
mainLabel
.
left
}
font.pixelSize
:
Theme
.
fontSize
Small
font.pixelSize
:
Theme
.
fontSize
Tiny
color
:
Theme
.
textColor
elide
:
Text
.
ElideRight
verticalAlignment
:
Text
.
AlignVCenter
...
...
src/qml/SwitcherItem.qml
View file @
4dd1e103
...
...
@@ -83,15 +83,6 @@ MouseArea {
script
:
switcherItemRoot
.
close
()
}
}
Label
{
anchors
{
top
:
parent
.
top
horizontalCenter
:
parent
.
horizontalCenter
topMargin
:
30
}
font.pointSize
:
8
text
:
Lipstick
.
compositor
.
windowForId
(
model
.
window
).
title
}
CloseButton
{
id
:
closeButton
...
...
src/qml/notifications/NotificationItem.qml
View file @
4dd1e103
...
...
@@ -102,7 +102,7 @@ MouseArea {
text
:
modelData
.
summary
width
:
(
parent
.
width
-
appIcon
.
width
)
-
Theme
.
itemSpacingHuge
color
:
Theme
.
textColor
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Small
//font.bold :true
//font.capitalization: Font.AllUppercase
...
...
@@ -119,7 +119,7 @@ MouseArea {
width
:
(
parent
.
width
-
appIcon
.
width
)
-
Theme
.
itemSpacingHuge
text
:
modelData
.
body
color
:
Theme
.
textColor
font.pixelSize
:
Theme
.
fontSize
Medium
font.pixelSize
:
Theme
.
fontSize
Small
anchors
{
left
:
appName
.
left
top
:
appSummary
.
bottom
...
...
src/qml/notifications/NotificationPreview.qml
View file @
4dd1e103
...
...
@@ -144,7 +144,7 @@ Item {
rightMargin
:
notificationArea
.
notificationMargin
//bottomMargin: notificationArea.notificationMargin
}
font.pixelSize
:
Theme
.
fontSize
Large
font.pixelSize
:
Theme
.
fontSize
Medium
text
:
notificationPreviewPresenter
.
notification
!=
null
?
notificationPreviewPresenter
.
notification
.
previewSummary
:
""
color
:
Theme
.
textColor
clip
:
true
...
...
@@ -159,7 +159,7 @@ Item {
right
:
summary
.
right
}
font
{
pixelSize
:
Theme
.
fontSize
Medium
pixelSize
:
Theme
.
fontSize
Small
bold
:
true
}
text
:
notificationPreviewPresenter
.
notification
!=
null
?
notificationPreviewPresenter
.
notification
.
previewBody
:
""
...
...
src/qml/statusbar/CommonPanel.qml
View file @
4dd1e103
...
...
@@ -92,7 +92,7 @@ Rectangle {
leftMargin
:
Theme
.
itemSpacingLarge
}
wrapMode
:
Text
.
Wrap
font.p
ointSize
:
8
font.p
ixelSize
:
Theme
.
fontSizeMedium
font.bold
:
true
color
:
"
#ffffff
"
}
...
...
src/qml/statusbar/WifiPanel.qml
View file @
4dd1e103
...
...
@@ -84,7 +84,7 @@ Component {
verticalCenter
:
statusImage
.
verticalCenter
}
width
:
root
.
width
font.pixelSize
:
Theme
.
fontSize
Medium
font.pixelSize
:
Theme
.
fontSize
Small
text
:
modelData
.
name
wrapMode
:
Text
.
Wrap
color
:
modelData
.
state
===
"
online
"
?
Theme
.
accentColor
:
Theme
.
textColor
...
...
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