Android Question Layout & Scale Module: is the problem the rounding?

LucaMs

Expert
Licensed User
Longtime User
or is it a bug of the Designer?

upload_2014-12-17_19-28-0.png



After:
B4X:
Scale.SetReferenceLayout(480, 800, 1.5, True, False)
Scale.ScaleAll(Activity, True)

upload_2014-12-17_19-31-13.png



Note: variant has scale 1.5, emulator 1
 

Attachments

  • upload_2014-12-17_19-28-54.png
    upload_2014-12-17_19-28-54.png
    226.1 KB · Views: 81

LucaMs

Expert
Licensed User
Longtime User
Probably the problem for the image is that the Scale module rightly keeps its proportions (ratio).
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Probably the problem for the image is that the Scale module rightly keeps its proportions (ratio).
That's it !
To maintain the width / height ratio the Scale module uses the smaller value of the two scale factors for the size.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Uhm... maybe WE (;)) could automate the repositioning of the images when they are scaled.

I will have a lot to think :)
 
Upvote 0
Top