You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-3
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,28 @@ A second possibility to define the column count of your TableView is to set it d
41
41
```
42
42
43
43
#### Column Width
44
-
To define the relative width of your columns you can define a specific *weight* for each of them (as you may know from [LinearLayout](http://developer.android.com/guide/topics/ui/layout/linear.html)). By default the weight of each column is set to 1. So every column has the same width. To make the first column (index of first column is 0) twice as wide as the other columns simple do the following call.
44
+
To define the column widths you can set a `TableColumnModel` that defines the width for each column. You can use a
45
+
predefined `TableColumnModel` or implement your custom one.
46
+
47
+
**TableColumnWeightModel**
48
+
This model defines the column widths in a relative manner. You can define a weight for each column index.
0 commit comments