@@ -100,31 +100,31 @@ public CreateClajRoomDialog() {
100100
101101 cont .pane (hosts -> {
102102 //CLaJ description
103- hosts .labelWrap ("@claj.manage.tip" ).labelAlign ( 2 , 8 ). padBottom ( 24f ).growX ().row ();
103+ hosts .labelWrap ("@claj.manage.tip" ).left (). pad ( 0 , 5 , 24 , 5 ).growX ().row ();
104104
105105 // Custom servers
106106 hosts .table (table -> {
107- table .add ("@claj.manage.custom-servers" ).pad (10 ).padLeft (0 ).growX (). left ().color ( Pal . accent );
107+ table .add ("@claj.manage.custom-servers" ).pad (10 ).padLeft (0 ).color ( Pal . accent ). growX ().left ( );
108108 table .button (Icon .add , Styles .emptyi , add ::show ).size (40f ).right ().padRight (3 );
109109 table .button (Icon .refresh , Styles .emptyi , this ::refreshCustom ).size (40f ).right ().padRight (3 );
110110 table .button (Icon .downOpen , Styles .emptyi , () -> customShown = !customShown )
111- .update (i -> i .getStyle ().imageUp = !customShown ? Icon .upOpen : Icon .downOpen )
112- .size (40f ).right ();
113- }).growX ().row ();
114- hosts .image ().growX (). padTop ( 5 ).padBottom ( 5 ). height (3 ).color (Pal .accent ).row ();
115- hosts .collapser (table -> custom = table , false , () -> customShown ).growX (). padBottom ( 10 );
111+ .update (i -> i .getStyle ().imageUp = !customShown ? Icon .upOpen : Icon .downOpen )
112+ .size (40f ).right ();
113+ }).pad ( 0 , 5 , 0 , 5 ). growX ().row ();
114+ hosts .image ().pad ( 5 ).height (3 ).color (Pal .accent ). growX ( ).row ();
115+ hosts .collapser (table -> custom = table , false , () -> customShown ).pad ( 0 , 5 , 10 , 5 ). growX ( );
116116 hosts .row ();
117117
118118 // Online Public servers
119119 hosts .table (table -> {
120- table .add ("@claj.manage.public-servers" ).pad (10 ).padLeft (0 ).growX (). left ().color ( Pal . accent );
120+ table .add ("@claj.manage.public-servers" ).pad (10 ).padLeft (0 ).color ( Pal . accent ). growX ().left ( );
121121 table .button (Icon .refresh , Styles .emptyi , this ::refreshOnline ).size (40f ).right ().padRight (3 );
122122 table .button (Icon .downOpen , Styles .emptyi , () -> onlineShown = !onlineShown )
123- .update (i -> i .getStyle ().imageUp = !onlineShown ? Icon .upOpen : Icon .downOpen )
124- .size (40f ).right ();
125- }).growX ().row ();
126- hosts .image ().growX (). padTop ( 5 ).padBottom ( 5 ). height (3 ).color (Pal .accent ).row ();
127- hosts .collapser (table -> online = table , false , () -> onlineShown ).growX (). padBottom ( 10 );
123+ .update (i -> i .getStyle ().imageUp = !onlineShown ? Icon .upOpen : Icon .downOpen )
124+ .size (40f ).right ();
125+ }).pad ( 0 , 5 , 0 , 5 ). growX ().row ();
126+ hosts .image ().pad ( 5 ).height (3 ).color (Pal .accent ). growX ( ).row ();
127+ hosts .collapser (table -> online = table , false , () -> onlineShown ).pad ( 0 , 5 , 10 , 5 ). growX ( );
128128 hosts .row ();
129129
130130 hosts .marginBottom (Vars .mobile ? 140f : 70f );
0 commit comments