Label baseline offset with a graphic

2014-06-03 Thread Werner Lehmann
Hi, I am trying to align labels on their baseline in an hbox. This is surprisingly difficult if some of the labels have a graphic (on the left). Turns out that LabeledSkinBase.computeBaselineOffset() simply uses the max of the text baseline and the height of the graphic: h =

Re: Label baseline offset with a graphic

2014-06-03 Thread Martin Sladecek
Hi Werner, this has changed in 8u20. See https://javafx-jira.kenai.com/browse/RT-36729 -Martin On 06/03/2014 02:11 PM, Werner Lehmann wrote: Hi, I am trying to align labels on their baseline in an hbox. This is surprisingly difficult if some of the labels have a graphic (on the left). Turns

Re: Label baseline offset with a graphic

2014-06-03 Thread Werner Lehmann
Hi Martin, excellent - then I don't have to start looking for workarounds. Werner On 03.06.2014 14:25, Martin Sladecek wrote: Hi Werner, this has changed in 8u20. Seehttps://javafx-jira.kenai.com/browse/RT-36729 -Martin