Code review comment for lp:~rpadovani/telegram-app/improveTextAreaDialogPage

Revision history for this message
MichaƂ Karnicki (karni) wrote :

This will fix:
- bottom rect background
- closing the keyboard on each msg send
- the send button onClicked

=== modified file 'ui/DialogPage.qml'
--- ui/DialogPage.qml 2014-10-04 22:01:05 +0000
+++ ui/DialogPage.qml 2014-10-06 09:44:15 +0000
@@ -83,7 +83,7 @@
             }
             height: message.height + units.gu(2)

- background: "white"
+ color: "white"

             // Add button for emoji here

@@ -116,11 +116,13 @@
                 }

                 fillMode: Image.Pad
+ focus: false

                 enabled: message.text
                 source: enabled ? "../images/ic_send.png" : "../images/ic_send_disabled.png"

                 MouseArea {
+ anchors.fill: parent
                     onClicked: {
                         sendMessage(message.text);
                         list.positionViewAtBeginning();

« Back to merge proposal