In the demo, in the "Tables > Structure Editor" view, the row height is broken. The front part of the table has a normal row height. But the back part has a row height that is about 6 times larger, or a row height close to 0, depending on the row. I hope this only affects the demo. But depending on the cause, it could affect all structure editors that, for example, display an attribute of a certain type. Since the Fix-Flex separator cannot be moved, the structure editor is currently almost unusable.
This behavior will occur in all Flex tables that are not rendered using the FrozenColumnTableRenderer or that use a different derivation of the DefaultTableRenderer and have overridden useFixedRowHeight() in their RenderState.
Causes & Solutions
- Issue #24121 removed the row height specified via CSS and added it as an attribute to the row tag. It is important that both the server (for positioning the slides) and the client (for correct display) use the same row height. Solution: The ` FixedTreeTableRenderer ` now also renders the row height.
- The input field of the `DataItemControl` is stretched to 100%. However, additional space is still required for the file path. Solution: `input` tags that are images are no longer stretched to 100%.
- The font size in tables was overridden by ` standard.css` from gwt. As a result, however, the elements no longer fit completely within the table cells. Solution: The styles from `standard.css` are not needed. Therefore, its imports were removed.
Test
In the demo, open the “Tables > Structure Editor” view. Expectation: All rows are the same size, and the rows in the fixed section are at the same height as their corresponding flexible columns.