Open dlemmermann opened 9 months ago
It is possible to work around this by explicitly adding -fx-cell-size: -1;
to the pdf-view.css file, but I am worried that AtlantaFX changed the default behaviour, hence breaking a lot of apps that are looking into using it. This in turn will lead to a lower adoption rate.
Yes, that's correct. Table cells have a fixed height by default. To set any custom content other than string, the cell size must be reset. This should be specified explicitly in the doc.
The screenshot below shows how PDFViewFX is trying to render the page thumbnails in a ListView on the left-hand side. For some reason the cell height remains fixed with a low value instead of adjusting to the height of the thumbnails when using AtlantaFX. PDFViewFX does not explicitly set a height for the cells.