GridPane percent width.
martin.sladecek at oracle.com
Thu Aug 28 07:40:07 UTC 2014
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
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