Skip to content

Commit a302368

Browse files
committed
aesthetics
1 parent e2c9721 commit a302368

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

services/static-webserver/client/source/class/osparc/share/AddCollaborators.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
************************************************************************ */
1717

1818
/**
19-
* Widget that offers the "Share with..." button to add collaborators to a resource.
19+
* Widget that offers the "Share" button to add collaborators to a resource.
2020
* It also provides the "Check Organization..." direct access.
2121
* As output, once the user select n gid in the NewCollaboratorsManager pop up window,
2222
* an event is fired with the list of collaborators.
@@ -60,7 +60,9 @@ qx.Class.define("osparc.share.AddCollaborators", {
6060
this._add(control);
6161
break;
6262
case "share-with":
63-
control = new qx.ui.form.Button(this.tr("Share with...")).set({
63+
control = new qx.ui.form.Button().set({
64+
icon: "@FontAwesome5Solid/share-alt/12",
65+
label: this.tr("Share"),
6466
appearance: "form-button",
6567
alignX: "left",
6668
allowGrowX: false

services/static-webserver/client/source/class/osparc/share/Collaborators.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,13 @@ qx.Class.define("osparc.share.Collaborators", {
286286
__createCollaboratorsListSection: function() {
287287
const vBox = new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
288288

289-
const header = new qx.ui.container.Composite(new qx.ui.layout.HBox());
289+
const header = new qx.ui.container.Composite(new qx.ui.layout.HBox(5));
290290

291-
const label = new qx.ui.basic.Label(this.tr("Shared with"));
292-
label.set({allowGrowX: true});
291+
const label = new qx.ui.basic.Label(this.tr("Shared with:"));
292+
label.set({
293+
allowGrowX: true,
294+
alignY: "middle",
295+
});
293296
header.add(label, {
294297
flex: 1
295298
});
@@ -306,7 +309,8 @@ qx.Class.define("osparc.share.Collaborators", {
306309
decorator: "no-border",
307310
spacing: 3,
308311
width: 150,
309-
padding: 0
312+
padding: 0,
313+
backgroundColor: "transparent",
310314
});
311315

312316
const collaboratorsModel = this.__collaboratorsModel = new qx.data.Array();

services/static-webserver/client/source/class/osparc/share/ShareTemplateWith.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ qx.Class.define("osparc.share.ShareTemplateWith", {
5353
value: this.tr("Make the template accessible to:"),
5454
font: "text-14",
5555
});
56-
addCollaborators.getChildControl("share-with").setLabel(this.tr("Share with..."));
56+
addCollaborators.getChildControl("share-with").set({
57+
icon: "@FontAwesome5Solid/share-alt/12",
58+
label: this.tr("Share"),
59+
});
5760
this._add(addCollaborators);
5861

5962
this._add(this.__selectedCollabs);

services/static-webserver/client/source/class/osparc/ui/list/ListItem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ qx.Class.define("osparc.ui.list.ListItem", {
6060
padding: 5,
6161
minHeight: 48,
6262
alignY: "middle",
63+
decorator: "rounded",
6364
});
6465

6566
this.addListener("pointerover", this._onPointerOver, this);

0 commit comments

Comments
 (0)