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 one has about 6 times the row height, or a row height close to 0, depending on the row. I hope this only affects the demo. But depending on the cause, this could affect all structure editors, for example representing an attribute of a certain type. Since you can't move the fix flex separator, the structure editor is currently almost unusable.
This behavior will occur with all flex tables that are not rendered via the FrozenColumnTableRenderer or use another derivation from the DefaultTableRenderer and have overridden useFixedRowHeight() in their RenderState.
Causes & solutions
- Due to #24121, the row height written via CSS was removed and written as an attribute to the row tag. It is important that both the server (for positioning the slides) and the client (for proper rendering) assume the same row height. Solution: The FixedTreeTableRenderer now also renders out the row height.
- The input field of the 'DataItemControl' is stretched to 100%. However, additional space is needed for the path of the file. Solution: `input tag`s that are images are no longer stretched to 100%.
- The font size in tables was overwritten by the standard.css from gwt. However, this caused the elements to no longer fit completely in the cells of the table. Solution: The styles from standard.css are not needed. Therefore its imports were removed.
Test
Open the "Tables > Structure Editor" view in Demo. Expectation: All rows are the same size and the rows of the fixed part are at the same height as their corresponding flexible columns.