Skip to content

Commit ef75db4

Browse files
committed
larger icon
1 parent b552d30 commit ef75db4

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
4848
font: "text-16",
4949
allowGrowX: true,
5050
});
51+
menuButton.getChildControl("icon").set({
52+
alignX: "center",
53+
});
5154
menuButton.getChildControl("label").set({
5255
rich: true,
53-
allowGrowX: true,
54-
wrap: false,
5556
});
5657
if (description) {
5758
const infoHint = new osparc.ui.hint.InfoHint(description).set({
58-
source: osparc.ui.hint.InfoHint.INFO_ICON + "/16",
59+
source: osparc.ui.hint.InfoHint.INFO_ICON + "/18",
5960
alignY: "middle",
6061
});
6162
// where the shortcut is supposed to go
@@ -96,15 +97,15 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
9697
firstUpperCase: true,
9798
plural: true
9899
}),
99-
"@FontAwesome5Solid/copy/16"
100+
"@FontAwesome5Solid/copy/18"
100101
);
101102
control.addListener("tap", () => this.fireDataEvent("changeTab", "templatesTab"));
102103
this.add(control);
103104
break;
104105
case "services-entry":
105106
control = this.self().createMenuButton(
106107
this.tr("Services"),
107-
"@FontAwesome5Solid/cogs/16"
108+
"@FontAwesome5Solid/cogs/18"
108109
);
109110
control.addListener("tap", () => this.fireDataEvent("changeTab", "servicesTab"));
110111
this.add(control);

services/static-webserver/client/source/resource/osparc/new_studies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"osparc": {
168168
"resources": [{
169169
"resourceType": "study",
170-
"icon": "@FontAwesome5Solid/file/16",
170+
"icon": "@FontAwesome5Solid/file/18",
171171
"title": "Empty Study",
172172
"newStudyLabel": "New Study",
173173
"idToWidget": "newStudyBtn"

0 commit comments

Comments
 (0)