Skip to content

Commit 06a78d1

Browse files
committed
align title
1 parent ba1c549 commit 06a78d1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ qx.Class.define("osparc.dashboard.GridButtonBase", {
144144
spacing: 0, // the sub-elements will take care of the padding
145145
});
146146
hGrid.setColumnFlex(1, 1);
147+
hGrid.setRowAlign(0, "left", "middle");
147148
control = new qx.ui.container.Composite().set({
148149
backgroundColor: "background-card-overlay",
149150
padding: 0,
@@ -203,7 +204,7 @@ qx.Class.define("osparc.dashboard.GridButtonBase", {
203204
font: "text-14",
204205
padding: this.self().PADDING,
205206
maxWidth: this.self().ITEM_WIDTH - 2*this.self().PADDING,
206-
maxHeight: this.self().TITLE_MAX_HEIGHT
207+
maxHeight: this.self().TITLE_MAX_HEIGHT,
207208
});
208209
layout = this.getChildControl("header");
209210
layout.addAt(control, 0, {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ qx.Class.define("osparc.dashboard.GridButtonItem", {
112112
});
113113
osparc.utils.Utils.setIdToWidget(control, "studyItemMenuButton");
114114
this._add(control, {
115-
top: 8,
116-
right: 8
115+
top: 6,
116+
right: 6,
117117
});
118118
break;
119119
case "tick-unselected":

0 commit comments

Comments
 (0)