We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d9e811 commit fdb8e4cCopy full SHA for fdb8e4c
services/static-webserver/client/source/class/osparc/dashboard/NewPlusMenu.js
@@ -218,7 +218,13 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
218
});
219
hypertoolsMenu.add(hypertoolButton);
220
osparc.study.Utils.guessIcon(templateData)
221
- .then(iconSource => osparc.utils.Utils.replaceIconWithThumbnail(hypertoolButton, iconSource, 22));
+ .then(iconSource => {
222
+ if (iconSource) {
223
+ const iconSize = 22;
224
+ hypertoolButton.getChildControl("icon").set({ minWidth: iconSize+2 });
225
+ osparc.utils.Utils.replaceIconWithThumbnail(hypertoolButton, iconSource, iconSize);
226
+ }
227
+ });
228
229
}
230
0 commit comments