bitstormFA / jlatexmathfx

A Javafx Control to render LaTeX math formula
GNU General Public License v2.0
28 stars 10 forks source link

Bug: sizing behaviour in LateXMathSkin #4

Closed spockoyno closed 6 years ago

spockoyno commented 6 years ago

The current definition protected double computeMaxWidth(... ) { return computePrefHeight(...); } leads to incorrect sizing behaviour. Shouldn't the method be returning computePrefWidth(...) ; instead?

spockoyno commented 6 years ago

@bitstormGER I've re-implemented the LateXMathSkin and LateXMathControl classes to address this issue, as well as Issues 5 and 6. I can contribute these, if necessary. In any case, thanks for a very useful library!

bitstormFA commented 6 years ago

Hi,

Excellent help! If you could contribute a Patch this would safe a lot of work. I will prepare a new patch release asap.

It's great to see the library finally being used! Many thanks @spockoyno

bitstormFA commented 6 years ago

will be fixed in 0.3.3