Skip to content

Commit 4c5d96c

Browse files
committed
selectable texts
1 parent e1bf598 commit 4c5d96c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

services/static-webserver/client/source/class/osparc/po/UsersPending.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ qx.Class.define("osparc.po.UsersPending", {
105105
break;
106106
case "pending-users-layout": {
107107
const grid = new qx.ui.layout.Grid(15, 5);
108+
grid.setColumnMaxWidth(2, 100); // date
108109
control = new qx.ui.container.Composite(grid);
109110
this.getChildControl("pending-users-container").add(control);
110111
break;
@@ -160,12 +161,18 @@ qx.Class.define("osparc.po.UsersPending", {
160161
pendingUsers.forEach(pendingUser => {
161162
grid.setRowAlign(row, "left", "middle");
162163

163-
pendingUsersLayout.add(new qx.ui.basic.Label(pendingUser.firstName + " " + pendingUser.lastName), {
164+
const fullNameLabel = new qx.ui.basic.Label(pendingUser.firstName + " " + pendingUser.lastName).set({
165+
selectable: true,
166+
});
167+
pendingUsersLayout.add(fullNameLabel, {
164168
row,
165169
column: 0,
166170
});
167171

168-
pendingUsersLayout.add(new qx.ui.basic.Label(pendingUser.email), {
172+
const emailLabel = new qx.ui.basic.Label(pendingUser.email).set({
173+
selectable: true,
174+
});
175+
pendingUsersLayout.add(emailLabel, {
169176
row,
170177
column: 1,
171178
});

0 commit comments

Comments
 (0)