Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plasma Phone Components
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Plasma
Plasma Phone Components
Commits
7fd8ef19
Commit
7fd8ef19
authored
Jun 24, 2015
by
Martin Klapetek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dialer] Put the sub-label under the number label
parent
86cafaf7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
16 deletions
+13
-16
dialer/package/contents/ui/Dialer/Dialer.qml
dialer/package/contents/ui/Dialer/Dialer.qml
+3
-0
dialer/package/contents/ui/Dialpad/DialerButton.qml
dialer/package/contents/ui/Dialpad/DialerButton.qml
+6
-8
dialer/package/contents/ui/Dialpad/Dialpad.qml
dialer/package/contents/ui/Dialpad/Dialpad.qml
+4
-8
No files found.
dialer/package/contents/ui/Dialer/Dialer.qml
View file @
7fd8ef19
...
...
@@ -56,6 +56,9 @@ Item {
}
Dialpad
{
Layout.fillWidth
:
true
Layout.fillHeight
:
true
callback
:
function
(
string
)
{
addNumber
(
string
);
}
...
...
dialer/package/contents/ui/Dialpad/DialerButton.qml
View file @
7fd8ef19
...
...
@@ -110,17 +110,15 @@ PlasmaComponents.Label {
PlasmaComponents.Label
{
id
:
longHold
anchors
{
verticalCenter
:
parent
.
verticalCenter
right
:
parent
.
right
rightMargin
:
units
.
smallSpacing
bottom
:
parent
.
bottom
}
height
:
parent
.
height
*
0.4
width
:
parent
.
width
/
3
verticalAlignment
:
Qt
.
AlignVCenter
horizontalAlignment
:
Q
t
.
AlignHCenter
width
:
parent
.
width
verticalAlignment
:
Text
.
AlignBottom
horizontalAlignment
:
Tex
t
.
AlignHCenter
visible
:
text
.
length
>
0
opacity
:
0.
6
opacity
:
0.
4
fontSizeMode
:
Text
.
Fit
fontSizeMode
:
Text
.
Vertical
Fit
}
}
dialer/package/contents/ui/Dialpad/Dialpad.qml
View file @
7fd8ef19
...
...
@@ -33,9 +33,6 @@ GridLayout {
property
int
buttonHeight
:
parent
.
height
/
6
Layout.fillWidth
:
true
Layout.fillHeight
:
true
DialerButton
{
id
:
one
;
text
:
"
1
"
}
DialerButton
{
text
:
"
2
"
;
sub
:
"
ABC
"
}
DialerButton
{
text
:
"
3
"
;
sub
:
"
DEF
"
}
...
...
@@ -55,8 +52,8 @@ GridLayout {
DialerIconButton
{
id
:
callButton
Layout.fillWidth
:
true
Layout.
fillHeight
:
true
Layout.minimumHeight
:
button
Height
Layout.
maximumHeight
:
buttonHeight
Layout.minimumHeight
:
Layout
.
maximum
Height
enabled
:
status
.
text
.
length
>
0
opacity
:
enabled
?
1
:
0.5
...
...
@@ -67,12 +64,11 @@ GridLayout {
}
Item
{
Layout.fillWidth
:
true
Layout.fillHeight
:
true
}
DialerIconButton
{
Layout.fillWidth
:
true
Layout.
fillHeight
:
true
Layout.minimumHeight
:
button
Height
Layout.
maximumHeight
:
buttonHeight
Layout.minimumHeight
:
Layout
.
maximum
Height
enabled
:
status
.
text
.
length
>
0
opacity
:
enabled
?
1
:
0.5
...
...
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