File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ qx.Class.define("osparc.po.UsersPending", {
174174 } ) ;
175175 const statusChip = new osparc . ui . basic . Chip ( ) . set ( {
176176 label : pendingUser . accountRequestStatus . toLowerCase ( ) ,
177- allowGrowX : false ,
178177 } ) ;
179178 statusChip . getChildControl ( "label" ) . set ( {
180179 font : "text-12" ,
Original file line number Diff line number Diff line change @@ -237,9 +237,7 @@ qx.Class.define("osparc.service.StatusUI", {
237237 const chip = new osparc . ui . basic . Chip ( ) . set ( {
238238 label : osparc . service . Utils . DEPRECATED_SERVICE_TEXT ,
239239 icon : osparc . service . StatusUI . getIconSource ( "deprecated" ) ,
240- textColor : "text-on-warning" ,
241- backgroundColor : osparc . service . StatusUI . getColor ( "deprecated" ) ,
242- allowGrowX : false
240+ statusColor : "warning" ,
243241 } ) ;
244242 return chip ;
245243 } ,
@@ -248,9 +246,7 @@ qx.Class.define("osparc.service.StatusUI", {
248246 const chip = new osparc . ui . basic . Chip ( ) . set ( {
249247 label : osparc . service . Utils . RETIRED_SERVICE_TEXT ,
250248 icon : osparc . service . StatusUI . getIconSource ( "retired" ) ,
251- textColor : "text-on-warning" ,
252- backgroundColor : osparc . service . StatusUI . getColor ( "retired" ) ,
253- allowGrowX : false
249+ statusColor : "error" ,
254250 } ) ;
255251 return chip ;
256252 }
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ qx.Class.define("osparc.ui.basic.Chip", {
1010
1111 construct : function ( label , icon ) {
1212 this . base ( arguments , label , icon ) ;
13+
14+ this . set ( {
15+ allowGrowX : false ,
16+ } ) ;
1317 } ,
1418
1519 properties : {
You can’t perform that action at this time.
0 commit comments