Based on code by Erel for StringUtils function MeasureMultilineTextHeight
StringUtils function calculates the height for multiplier value 1 only.
With this function you can calculate height with variable line spacing.
Hi i found out that if i set an Height using setlayoutanimated to increase, it works..
but if i want to decrease, that will not be animated.
This is the function that i call when i click on a panel (where inside there is the green label)
Sub CheckCibo(parent As B4XView, Index As Int)
I'm using the B4XDialog and B4XDialoSignatureTemplate with iphone and everything is ok. Now I'm moving some APPs to work with iPad and I got a problem!
Well ... is not really a problem like a bug or a crash. It's a visual problem!
The iPad screen is bigger than an iPhone screen and...
I see height is available but I've anchored to top and bottom in designer.
So I'd like to be able to change Bottom Edge Distance programmatically.
If not possible, and I have 7 variants, how do I calculate Height?
In case it helps, why am I doing this?
That Panel is a parent to a Tab Strip...