Best would be define it in your css file. And in your classes, you can do a getStyle("propertyName") to get the values. Take a look at [1] for an example of usage. In the CSS file, you can specify different values based on the DPI. This will automatically get resolved by the framework during runtime.
Thanks, Om [1] https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/mobiletheme/defaults.css On Tue, Dec 2, 2014 at 11:31 AM, chris_d_k <c...@christiankiefer.de> wrote: > When I want to define gaps, paddings, ... for the whole app at a specific > applicationDPI in all components - what is the best way to do this? > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/Best-way-to-define-global-properties-in-flex-mobile-for-defining-sizes-of-gaps-tp8954.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >