Skip to content

Commit

Permalink
more aesthetics
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Jan 3, 2025
1 parent c07e651 commit 9ac790f
Showing 1 changed file with 21 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 9ac790f

Please sign in to comment.