Sizing Problem on Different Resolutions

I am using Taifun’s extension in my APK example above, and these are the blocks.

/Boban

4 Likes

I have to insert this much blocks for making one font correctly?

Unfortunately yes, until if they implement a choice for scaling fonts in dp or sp

However, you can enhance the procedure and use any component for somewhat lesser blocks.

/Boban

1 Like

Why not create a issue on app inventor github sources and explain there the problem?

2 Likes

hi, may i have the aia of this project?

this is great actually. So, what i found is if we use the method from this video for text sizes and use percentage terms for rest of the components the problem may not occur !

I am going to do this in my app thanks for the video !

Sorry I don’t have it but you can replicate the blocks

/Boban

1 Like

thanks.
why use a clock?

An old habit but mostly because of and depending on how big and heavy your app is, the code is often executed long before your app is fully loaded and by that your app gets wrong dimensions, adding a timer with some delay makes the app have more time to calculate dimensions

/Boban

2 Likes

Why I got this error although I did your blocks using any component? …

Note this error is not shown when using companion only shown while using the saved apk