Skip to content

Commit 9e07ab9

Browse files
committed
aesthetics
1 parent eeaa586 commit 9e07ab9

File tree

3 files changed

+4
-54
lines changed

3 files changed

+4
-54
lines changed

services/static-webserver/client/source/class/osparc/ui/toolbar/ProgressBar.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

services/static-webserver/client/source/class/osparc/ui/window/Progress.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,11 @@ qx.Class.define("osparc.ui.window.Progress", {
4040
allowGrowY: false,
4141
allowGrowX: true,
4242
margin: 0,
43+
decorator: "rounded",
4344
});
4445
control.getChildControl("progress").set({
4546
backgroundColor: "strong-main"
4647
});
47-
control.getContentElement().setStyles({
48-
"border-radius": "4px"
49-
});
5048
this.addAt(control, 1);
5149
break;
5250
}

services/static-webserver/client/source/class/osparc/workbench/NodeUI.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ qx.Class.define("osparc.workbench.NodeUI", {
4545

4646
this.set({
4747
appearance: "node-ui-cap",
48+
decorator: "rounded",
4849
layout: grid,
4950
showMinimize: false,
5051
showMaximize: false,
@@ -55,10 +56,6 @@ qx.Class.define("osparc.workbench.NodeUI", {
5556
contentPadding: this.self().CONTENT_PADDING
5657
});
5758

58-
this.getContentElement().setStyles({
59-
"border-radius": "4px"
60-
});
61-
6259
const captionBar = this.getChildControl("captionbar");
6360
captionBar.set({
6461
cursor: "move",
@@ -282,7 +279,8 @@ qx.Class.define("osparc.workbench.NodeUI", {
282279
case "progress":
283280
control = new qx.ui.indicator.ProgressBar().set({
284281
height: 10,
285-
margin: 4
282+
margin: 4,
283+
decorator: "rounded",
286284
});
287285
this.add(control, {
288286
row: 1,

0 commit comments

Comments
 (0)