Trace: • Controlling Metadata Caching
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jvx:client:gui:column_width [2018/03/19 13:29] admin created |
jvx:client:gui:column_width [2020/06/26 11:56] (current) cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | ~~Title: Setting column width~~ | + | ~~Title: Setting Column Width~~ |
- | The column width can be set via ColumnDefinition, e.g. | + | The column width can be set via ColumnDefinition, e.g., |
<file java> | <file java> | ||
Line 10: | Line 10: | ||
The table uses this width for the cell width. | The table uses this width for the cell width. | ||
- | But be careful, because the real cell width depends on the UI implementation. Some GUI toolkits like Swing, fill the empty space and adds the difference to existing cells. In case of Swing UI, it's possible to disable this feature: | + | But be careful, the real cell width depends on the UI implementation. Some GUI toolkits like Swing fill the empty space and add the difference to existing cells. In the case of Swing UI, it's possible to disable this feature: |
<file java> | <file java> | ||
(((JVxTable)table.getResource()).setAutoFillEmptySpace(false); | (((JVxTable)table.getResource()).setAutoFillEmptySpace(false); | ||
</file> | </file> |