AW: GridPane percent width.
rfisher at tesis.de
Thu Aug 28 07:45:54 UTC 2014
Thanks Martin, I'll try to reproduce it in a simple example and file a bug.
Von: openjfx-dev [mailto:openjfx-dev-bounces at openjdk.java.net] Im Auftrag von Martin Sladecek
Gesendet: Donnerstag, 28. August 2014 09:40
An: openjfx-dev at openjdk.java.net
Betreff: Re: GridPane percent width.
with odd numbers, the space might be distributed unevenly (by a pixel), this is due to snapToPixel property of the GridPane. Setting it to false might lead to even distribution, but the border might be blurred.
Anyway, if you are not sure if it is a bug, I would suggest you file a JIRA issue with some sample to reproduce the issue:
https://javafx-jira.kenai.com. See also https://wiki.openjdk.java.net/display/OpenJFX/Submitting+a+Bug+Report
On 27.8.2014 17:16, Robert Fisher wrote:
> Hi all,
> I have a grid pane with 2 columns, with one child in each. The columns are each assigned 50% width.
> I find that for some sizes (maybe when the total width is an odd number of pixels), the right-most column of pixels of the right child are cut off and not rendered. Is this intentional? Or a known bug?
More information about the openjfx-dev