Because I'm too stupid to get from Designer what I want, I wish there was a Designer function which generates the code to set at runtime the dimensions of all views as percentages compared to the screen (layout).
+1
how ever this can be done by converting layouts to json or xml format and then write a good b4j desktop app for calculate all dimentions and then convert back to .bal format
this is just a suggestion
Because, as you can see below, if I use anchors and autoscaleall only I don't get what I "need".
Why in that case I don't obtain a bigger or smaller panel (depending on difference between the layout dimensions and the device dimensions) and proportionate edge distances despite I used Autoscaleall?
I think: you use dips, so If you have 100dip, you get same misure on any device (misure in cm) but if you add autoscaleall this 100dip will be ... scaled.
+1
how ever this can be done by converting layouts to json or xml format and then write a good b4j desktop app for calculate all dimentions and then convert back to .bal format
this is just a suggestion
Yes, I did it and it works (see my post #14) but now, after I reset each view (including panel) to Left-Top (anchors), I get that error.
[bal attached]
... but checking/unchecking rechecking those parameters (Full Screen and Show Title) now with Top = 75 and Height = 170 (not changed) the panel is centered.
It is just a little bug (like "refresh" or reset some variable).