From 9ac790f97d35b357d20dbb9543dc6a5ba04824c1 Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Fri, 3 Jan 2025 18:55:04 +0100 Subject: [PATCH] more aesthetics --- .../desktop/organizations/MembersList.js | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/desktop/organizations/MembersList.js b/services/static-webserver/client/source/class/osparc/desktop/organizations/MembersList.js index f30138c4f9c..9e00ed66dcb 100644 --- a/services/static-webserver/client/source/class/osparc/desktop/organizations/MembersList.js +++ b/services/static-webserver/client/source/class/osparc/desktop/organizations/MembersList.js @@ -23,13 +23,8 @@ qx.Class.define("osparc.desktop.organizations.MembersList", { this._setLayout(new qx.ui.layout.VBox(10)); - this._add(this.__createAddMembersText()); - this._add(this.__getMemberInvitation()); - this._add(this.__getRolesToolbar()); - this._add(this.__getMembersFilter()); - this._add(this.__getMembersList(), { - flex: 1 - }); + this.__createNewMemberLayout(); + this.__createMembersList(); }, statics: { @@ -92,6 +87,25 @@ qx.Class.define("osparc.desktop.organizations.MembersList", { this.__reloadOrgMembers(); }, + __createNewMemberLayout: function() { + const vBox = new qx.ui.container.Composite(new qx.ui.layout.VBox(5)); + vBox.add(this.__createAddMembersText()); + vBox.add(this.__getMemberInvitation()); + this._add(vBox); + }, + + __createMembersList: function() { + const vBox = new qx.ui.container.Composite(new qx.ui.layout.VBox(5)); + vBox.add(this.__getRolesToolbar()); + vBox.add(this.__getMembersFilter()); + vBox.add(this.__getMembersList(), { + flex: 1 + }); + this._add(vBox, { + flex: 1 + }); + }, + __createAddMembersText: function() { const intro = this.__introLabel = new qx.ui.basic.Label().set({ alignX: "left",