Skip to content

Commit 868c875

Browse files
committed
styling
1 parent 9d2d9b6 commit 868c875

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

services/static-webserver/client/source/class/osparc/NewUITracker.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ qx.Class.define("osparc.NewUITracker", {
3535
msg += "<br>";
3636
msg += qx.locale.Manager.tr("Click the Reload button to get the latest features.");
3737
// permanent message
38-
const flashMessage = osparc.FlashMessenger.getInstance().logAs(msg, "INFO", 0);
38+
const flashMessage = osparc.FlashMessenger.getInstance().logAs(msg, "INFO", 0).set({
39+
maxWidth: 500
40+
});
3941
const reloadButton = osparc.utils.Utils.reloadNoCacheButton();
4042
flashMessage.addWidget(reloadButton);
4143
this.stopTracker();

services/static-webserver/client/source/class/osparc/utils/Utils.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,14 @@ qx.Class.define("osparc.utils.Utils", {
251251

252252
reloadNoCacheButton: function() {
253253
const reloadButton = new qx.ui.form.Button().set({
254-
label: this.tr("Reload"),
255-
icon: "@FontAwesome5Solid/redo/14",
254+
label: qx.locale.Manager.tr("Reload"),
255+
icon: "@FontAwesome5Solid/redo/16",
256+
font: "text-16",
257+
gap: 10,
258+
appearance: "strong-button",
259+
allowGrowX: false,
260+
center: true,
261+
alignX: "center",
256262
});
257263
reloadButton.addListener("execute", () => {
258264
// this argument, which is passed and consumed by the boot.js init file,

0 commit comments

Comments
 (0)