Skip to content

Commit 4a1321a

Browse files
committed
aesthetics
1 parent d554cee commit 4a1321a

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ qx.Class.define("osparc.dashboard.FileButtonItem", {
7070
padding: [0, 8],
7171
maxWidth: osparc.dashboard.ListButtonItem.MENU_BTN_DIMENSIONS,
7272
maxHeight: osparc.dashboard.ListButtonItem.MENU_BTN_DIMENSIONS,
73+
alignX: "center",
74+
alignY: "middle",
7375
icon: "@FontAwesome5Solid/ellipsis-v/14",
7476
focusable: false
7577
});
@@ -95,15 +97,20 @@ qx.Class.define("osparc.dashboard.FileButtonItem", {
9597
osparc.utils.Utils.setIdToWidget(this, "fileItem_" + id);
9698

9799
this.setIcon(file.getIsDirectory() ? "@FontAwesome5Solid/folder/" : "@FontAwesome5Solid/file/");
100+
this.getChildControl("icon").getChildControl("image").set({
101+
paddingTop: 5,
102+
});
98103

99-
const label = this.getChildControl("title");
100-
label.set({
104+
this.getChildControl("title").set({
101105
value: file.getName(),
102106
toolTipText: file.getName(),
103107
});
104108

105-
const dateBy = this.getChildControl("date-by");
106-
dateBy.set({
109+
this.getChildControl("owner").set({
110+
value: "Project Id: " + osparc.utils.Utils.uuidToShort(file.getProjectId()),
111+
});
112+
113+
this.getChildControl("date-by").set({
107114
date: file.getModifiedAt(),
108115
toolTipText: this.tr("Last modified"),
109116
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ qx.Class.define("osparc.dashboard.ListButtonBase", {
4242
},
4343

4444
statics: {
45-
ITEM_HEIGHT: 35,
45+
ITEM_HEIGHT: 40,
4646
SPACING: 5,
4747
POS: {
4848
THUMBNAIL: 0,

0 commit comments

Comments
 (0)