Browse Source

Update RCSS rules to avoid reformatting table each layout step

Michael Ragazzon 1 year ago
parent
commit
ef2117b3f8
1 changed files with 7 additions and 2 deletions
  1. 7 2
      Samples/basic/player_list/data/player_list.css

+ 7 - 2
Samples/basic/player_list/data/player_list.css

@@ -86,6 +86,11 @@ input[type="text"] {
     flex-direction: column;
 }
 
+#contents > * {
+    flex: 1;
+    width: 100%;
+}
+
 #contents__footer {
     align-self: flex-end;
 }
@@ -98,8 +103,8 @@ input[type="text"] {
 
 #players {
     margin-top: 15dp;
-    flex: auto;
-    overflow: auto;
+    flex: 10;
+    overflow: scroll;
 }
 
 table {