Skip to content

Commit 6e96949

Browse files
committed
scroll messages
1 parent 296e40b commit 6e96949

File tree

1 file changed

+4
-2
lines changed
  • services/static-webserver/client/source/class/osparc/conversation

1 file changed

+4
-2
lines changed

services/static-webserver/client/source/class/osparc/conversation/Conversation.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ qx.Class.define("osparc.conversation.Conversation", {
3232
this.setConversationId(conversationId);
3333
}
3434

35-
this._setLayout(new qx.ui.layout.VBox(10));
35+
this._setLayout(new qx.ui.layout.VBox(5));
3636

3737
this.set({
3838
padding: 10,
@@ -152,7 +152,9 @@ qx.Class.define("osparc.conversation.Conversation", {
152152
this.__messagesList = new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({
153153
alignY: "middle"
154154
});
155-
this._add(this.__messagesList, {
155+
const scrollView = new qx.ui.container.Scroll();
156+
scrollView.add(this.__messagesList);
157+
this._add(scrollView, {
156158
flex: 1
157159
});
158160

0 commit comments

Comments
 (0)