~penk/phablet-extras/maliit-plugins-qml-candidates

« back to all changes in this revision

Viewing changes to maliit-keyboard/qml/maliit-ui-constants.qml

branch to get the new maliit-keyboard.

Approved by Bill Filler, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
import QtQuick 2.0
 
4
import Ubuntu.Components 0.1
 
5
 
 
6
 
 
7
/**
 
8
 * these items only hold variables
 
9
 */
 
10
 
 
11
Item {
 
12
     id: keyboard_constants
 
13
 
 
14
     property real key_area_borders:                        units.gu(  1.222    );
 
15
     property string font_color:                            "#666666"
 
16
     property string font_family:                           "Ubuntu Medium"
 
17
 
 
18
 
 
19
     property int  portrait_keyboard_total_height:          units.gu( 32.777    );
 
20
     property int  portrait_keyboard_visible_height:        units.gu( 26.0      );
 
21
     property real portrait_keyboard_screen_width_ratio:               0.8
 
22
 
 
23
     property real portrait_key_height:                     units.gu(  4.888     );
 
24
     property real portrait_key_width:                      units.gu(  3.666     );
 
25
     property real portrait_font_size:                      units.gu(  2.111     );
 
26
 
 
27
 
 
28
     property int  landscape_keyboard_total_height:         units.gu( 39.5      );
 
29
     property int  landscape_keyboard_visible_height:       units.gu( 33.4      );
 
30
     property real landscape_keyboard_screen_width_ratio:              1.0
 
31
 
 
32
     property real landscape_key_height:                    units.gu(  7.0      );
 
33
     property real landscape_key_width:                     units.gu( 12.0      );
 
34
     property real landscape_font_size:                     units.gu(  3.111     );
 
35
 
 
36
 
 
37
}