Skip to content

Commit c8a1c1c

Browse files
committed
push tags to bottom
1 parent ee05d28 commit c8a1c1c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

services/static-webserver/client/source/class/osparc/dashboard/GridButtonBase.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ qx.Class.define("osparc.dashboard.GridButtonBase", {
166166
case "body":
167167
control = new qx.ui.container.Composite(new qx.ui.layout.VBox(6)).set({
168168
padding: this.self().PADDING,
169-
alignY: "bottom",
170169
});
171170
break;
172171
case "footer": {

services/static-webserver/client/source/class/osparc/dashboard/GridButtonItem.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,19 @@ qx.Class.define("osparc.dashboard.GridButtonItem", {
9292
this.getChildControl("body").addAt(control, this.self().BODY_POS.AVATAR_GROUP);
9393
break;
9494
}
95-
case "tags":
95+
case "tags": {
96+
const wrapper = new qx.ui.container.Composite(new qx.ui.layout.VBox());
97+
// Add spacer to push tags to bottom
98+
wrapper.add(new qx.ui.core.Spacer(), {flex: 1});
9699
control = new qx.ui.container.Composite(new qx.ui.layout.Flow(4, 4)).set({
97100
anonymous: true,
98101
});
99-
this.getChildControl("body").addAt(control, this.self().BODY_POS.TAGS, {
102+
wrapper.add(control);
103+
this.getChildControl("body").addAt(wrapper, this.self().BODY_POS.TAGS, {
100104
flex: 1,
101105
});
102106
break;
107+
}
103108
case "menu-selection-stack":
104109
control = new qx.ui.container.Stack();
105110
control.set({

0 commit comments

Comments
 (0)