Increase font size

This commit is contained in:
Angela Mazzurco 2017-07-01 18:03:55 +02:00
parent 6ea85de4ba
commit 161bd4c227
3 changed files with 10 additions and 3 deletions

View file

@ -95,6 +95,7 @@ Item
)? Text.AlignRight : Text.AlignLeft )? Text.AlignRight : Text.AlignLeft
wrapMode: Text.Wrap wrapMode: Text.Wrap
font.pixelSize: styles.messageTextSize
} }
} }

View file

@ -112,7 +112,7 @@ Item
anchors.topMargin: parent.height / 2 anchors.topMargin: parent.height / 2
anchors.bottomMargin: categorySelectorHeight anchors.bottomMargin: categorySelectorHeight
property int categorySelectorHeight: 40 property int categorySelectorHeight: 50
color: "white" color: "white"
buttonWidth: 40 buttonWidth: 40
@ -225,6 +225,8 @@ Item
inputMethodHints: Qt.ImhMultiLine inputMethodHints: Qt.ImhMultiLine
font.pixelSize: styles.messageBoxTextSize
onTextChanged: onTextChanged:
{ {
if (msgField.length == 0) if (msgField.length == 0)

View file

@ -23,6 +23,9 @@ QtObject {
readonly property string colorSenderName: "cornflowerblue" readonly property string colorSenderName: "cornflowerblue"
readonly property string colorMessageTime: "grey" readonly property string colorMessageTime: "grey"
// Text
readonly property int messageTextSize: 15
} }
@ -35,6 +38,7 @@ QtObject {
property QtObject msgComposer: QtObject{ property QtObject msgComposer: QtObject{
readonly property string placeHolder: "Send message..." readonly property string placeHolder: "Send message..."
readonly property int maxHeight: 180 readonly property int maxHeight: 180
readonly property int messageBoxTextSize: 15
property QtObject background: Rectangle { property QtObject background: Rectangle {
color: "transparent" color: "transparent"
@ -44,8 +48,8 @@ QtObject {
// Button Icon // Button Icon
property QtObject btnIcon: QtObject{ property QtObject btnIcon: QtObject{
readonly property int width: 40 readonly property int width: 35
readonly property int height: 40 readonly property int height: 35
readonly property int margin: 5 readonly property int margin: 5