Re: BaselineOffset of StackPane is inconsistent

2023-01-26 Thread Scott Palmer
I determined this is caused by the StackPane's child node's layoutY value sometimes being 0.0 and sometimes being 7.5. Which is strange, since layout should always be complete on the TreeCells by the time they are painted. Which got me thinking.. sure maybe on one pass it wasn't initialized or so

BaselineOffset of StackPane is inconsistent

2023-01-24 Thread Scott Palmer
I'm seeing something odd with the alignment of content in a TextFlow and I'm not sure if I'm doing something wrong, or if there is a bug there. The getBaselineOffset() method of the StackPane is returning inconsistent values. If I sub-class it to force a constant offset, everything works. Since th