Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mobile Datovka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Datovka projects
mobile Datovka
Commits
8b330a73
Commit
8b330a73
authored
Oct 25, 2016
by
Martin Straka
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ios fontsize problem (issue
#4
)
parent
fedae678
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
qml/main.qml
qml/main.qml
+6
-4
qml/pages/AccountsPage.qml
qml/pages/AccountsPage.qml
+2
-2
qml/pages/MessageDetailPage.qml
qml/pages/MessageDetailPage.qml
+2
-2
qml/pages/MessagesPage.qml
qml/pages/MessagesPage.qml
+1
-1
No files found.
qml/main.qml
View file @
8b330a73
...
...
@@ -58,9 +58,10 @@ ApplicationWindow {
property
string
mainHeaderBgColor
:
"
#00539b
"
property
int
statusBarTimer
:
5000
// dimension and style based on font pixel size and screen dpi
property
int
textFontSize
:
defaultTextFont
.
font
.
pixelSize
property
int
textFontSizeSmall
:
textFontSize
*
0.7
property
int
headerHeight
:
textFontSize
*
3
property
int
textFontSizeInPixels
:
defaultTextFont
.
font
.
pixelSize
property
int
textPointSmall
:
Math
.
round
(
defaultTextFont
.
font
.
pointSize
*
0.7
)
property
int
textFontSizeSmall
:
if
(
textPointSmall
>
0
)
{
textPointSmall
}
else
{
8
}
property
int
headerHeight
:
textFontSizeInPixels
*
3
property
int
imgHeight
:
headerHeight
*
0.8
property
int
navImgHeight
:
headerHeight
*
0.3
property
int
listItemHeight
:
headerHeight
*
1.5
...
...
@@ -110,10 +111,11 @@ ApplicationWindow {
color
:
datovkaPalette
.
text
anchors.centerIn
:
parent
text
:
mainWindow
.
width
+
"
x
"
+
mainWindow
.
height
font.p
ixel
Size
:
textFontSizeSmall
font.p
oint
Size
:
textFontSizeSmall
Connections
{
target
:
isds
onStatusBarTextChanged
:
{
console
.
log
(
textFontSizeSmall
)
statusBar
.
visible
=
true
statusBarText
.
text
=
txt
busyuIndicator
.
running
=
busy
...
...
qml/pages/AccountsPage.qml
View file @
8b330a73
...
...
@@ -227,7 +227,7 @@ Component {
anchors.verticalCenter
:
parent
.
verticalCenter
text
:
"
(
"
+
rUserName
+
"
)
"
color
:
datovkaPalette
.
text
font.p
ixel
Size
:
textFontSizeSmall
font.p
oint
Size
:
textFontSizeSmall
}
}
Text
{
...
...
@@ -236,7 +236,7 @@ Component {
anchors.leftMargin
:
defaultMargin
text
:
rTestAccount
+
"
,
"
+
rstoreToDisk
color
:
datovkaPalette
.
text
font.p
ixel
Size
:
textFontSizeSmall
font.p
oint
Size
:
textFontSizeSmall
}
}
Rectangle
{
...
...
qml/pages/MessageDetailPage.qml
View file @
8b330a73
...
...
@@ -149,7 +149,7 @@ Component {
id
:
attachmentLabel
anchors.top
:
messageDetail
.
bottom
width
:
parent
.
width
height
:
textFontSize
*
2
height
:
textFontSize
InPixels
*
2
Text
{
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.left
:
parent
.
left
...
...
@@ -261,7 +261,7 @@ Component {
anchors.left
:
parent
.
left
text
:
rFileSize
color
:
datovkaPalette
.
mid
font.p
ixel
Size
:
textFontSizeSmall
font.p
oint
Size
:
textFontSizeSmall
}
}
}
...
...
qml/pages/MessagesPage.qml
View file @
8b330a73
...
...
@@ -247,7 +247,7 @@ Component {
id
:
r3c2
text
:
rMsgId
+
"
"
+
rDelivTime
+
"
"
+
rAcceptTime
color
:
datovkaPalette
.
mid
font.p
ixel
Size
:
textFontSizeSmall
font.p
oint
Size
:
textFontSizeSmall
font.bold
:
true
}
}
...
...
Martin Straka
@mstraka
Mentioned in issue
#4 (closed)
·
Oct 26, 2016
Mentioned in issue
#4 (closed)
Mentioned in issue #4
Toggle commit list
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