What unit is used by the App Builder's controls?


Ava Rashidi

Hello David,

I want to display a photo(250*250 px) by using CSS, I use HTML control to To display its output, for this control(HTML) I put the height and width 250

But the output size of the CSS(px) is not the same as the size of my control!

- What is the measurement unit for AB controls(height and width)?

thanks


DecSoft

Hello Ava,

Answering your questions, AB controls use pixels, however, if your app have the "Auto scale" option activated, then the design controls' size can vary at runtime, since in this case we use percentage values. There are various samples to deal with images included with DecSoft App Builder. Are you take a look at them? On the other hand, you can use Image controls and also HTML controls in order to shown images, just depending on what you wanted.



Ava Rashidi

Hello David,

I am very thankful,


DecSoft

Hello Ava,

Please, sorry for the delay! And... you're welcome! :-)


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.