File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
services/static-webserver/client/source Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,12 @@ qx.Class.define("osparc.ui.basic.JsonTreeViewer", {
2525 construct : function ( jsonObj ) {
2626 this . base ( arguments ) ;
2727
28- this . _setLayout ( new qx . ui . layout . VBox ( ) ) ;
28+ this . set ( {
29+ minWidth : 200 ,
30+ minHeight : 200 ,
31+ marginLeft : - 30 ,
32+ marginTop : - 10 ,
33+ } ) ;
2934
3035 if ( jsonObj ) {
3136 this . setJson ( jsonObj ) ;
@@ -34,7 +39,9 @@ qx.Class.define("osparc.ui.basic.JsonTreeViewer", {
3439
3540 members : {
3641 setJson ( jsonObj ) {
37- osparc . wrapper . JsonTreeViewer . getInstance ( ) . print ( jsonObj , this . getContentElement ( ) ) ;
42+ this . addListenerOnce ( "appear" , ( ) => {
43+ osparc . wrapper . JsonTreeViewer . getInstance ( ) . print ( jsonObj , this . getContentElement ( ) . getDomElement ( ) ) ;
44+ } , this ) ;
3845 } ,
3946 }
4047} ) ;
Original file line number Diff line number Diff line change 2020 font-size : 14px ;
2121
2222 margin-left : 0px ;
23- font-family : 'Roboto' ;
23+ font-family : 'Manrope' ; /* osparc */
2424}
2525
2626/* Styles for a list of child nodes */
3131 /* line-height: 2; */
3232
3333 margin-left : 0px ;
34- line-height : 1.5 ;
34+ /* line-height: 1.5; osparc */
3535}
3636.jsontree_node_expanded > .jsontree_value-wrapper > .jsontree_value > .jsontree_child-nodes {
3737 display : block;
7171
7272 color : transparent;
7373}
74- .jsontree_value {
74+ .jsontree_value {
7575 vertical-align : top;
7676 display : inline;
7777
You can’t perform that action at this time.
0 commit comments