[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ruqola] src/apps/qml: Fix margin
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-24 11:45:14
Message-ID: E1g4PIg-0005Hr-2a () code ! kde ! org
[Download RAW message or body]

Git commit 684cd31568f4fc165beeac14f62effa22654bb9a by Laurent Montel.
Committed on 24/09/2018 at 11:45.
Pushed by mlaurent into branch 'master'.

Fix margin

M  +1    -0    src/apps/qml/ActiveChat.qml
M  +4    -1    src/apps/qml/MainComponent.qml

https://commits.kde.org/ruqola/684cd31568f4fc165beeac14f62effa22654bb9a

diff --git a/src/apps/qml/ActiveChat.qml b/src/apps/qml/ActiveChat.qml
index 27abffd8..605eb830 100644
--- a/src/apps/qml/ActiveChat.qml
+++ b/src/apps/qml/ActiveChat.qml
@@ -40,6 +40,7 @@ ListView {
 
     property QtObject rcAccount
     property string roomId: ""
+    property bool enableEditingMode: false
 
     spacing: Kirigami.Units.smallSpacing
     highlightRangeMode: ListView.ApplyRange
diff --git a/src/apps/qml/MainComponent.qml \
b/src/apps/qml/MainComponent.qml index f5909ab8..caaec405 100644
--- a/src/apps/qml/MainComponent.qml
+++ b/src/apps/qml/MainComponent.qml
@@ -398,11 +398,14 @@ Component {
         footer:
             ColumnLayout {
             anchors.bottom: mainWidget.bottom
+            //anchors.margins: Kirigami.Units.smallSpacing
             QQC2.Label {
                 id: channelInfo
                 font.bold: true
+                anchors {
+                    margins: Kirigami.Units.smallSpacing
+                }
                 Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
-                anchors.margins: 2*Kirigami.Units.smallSpacing
                 visible: appid.selectedRoom && \
((appid.selectedRoom.readOnly === true) || (appid.selectedRoom.blocker === \
                true) || (appid.selectedRoom.blocked === true))
                 text: appid.selectedRoom ? \
appid.selectedRoom.roomMessageInfo : ""  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic