Skip to content

Commit 7a03e32

Browse files
committed
aesthetics
1 parent 4e50b3d commit 7a03e32

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

services/static-webserver/client/source/class/osparc/desktop/wallets/WalletListItem.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ qx.Class.define("osparc.desktop.wallets.WalletListItem", {
153153
rowSpan: 2
154154
});
155155
break;
156-
case "favourite-button":
156+
case "preferred-button":
157157
control = new qx.ui.form.Button().set({
158158
iconPosition: "right",
159159
width: 110, // make Primary and Secondary buttons same width
@@ -326,8 +326,11 @@ qx.Class.define("osparc.desktop.wallets.WalletListItem", {
326326
},
327327

328328
__applyPreferredWallet: function(isPreferredWallet) {
329-
const favouriteButton = this.getChildControl("favourite-button");
330-
favouriteButton.setBackgroundColor("transparent");
329+
const favouriteButton = this.getChildControl("preferred-button");
330+
favouriteButton.set({
331+
backgroundColor: "transparent",
332+
width: 60,
333+
});
331334
const favouriteButtonIcon = favouriteButton.getChildControl("icon");
332335
if (isPreferredWallet) {
333336
favouriteButton.set({

services/static-webserver/client/source/class/osparc/desktop/wallets/WalletsList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ qx.Class.define("osparc.desktop.wallets.WalletsList", {
229229
flex: 1
230230
});
231231
if (showCurrently) {
232-
const selectColumn = new qx.ui.basic.Label(this.tr("Currently in use")).set({
233-
marginRight: 18
232+
const selectColumn = new qx.ui.basic.Label(this.tr("Preferred")).set({
233+
marginRight: 8 // align it with the "preferred-button"
234234
});
235235
header.add(selectColumn)
236236
}

0 commit comments

Comments
 (0)