Thanks guys, thats nifty! Will give it a shot.
On Saturday, February 8, 2020 at 1:25:52 PM UTC+8, Shai Almog wrote:
>
> Normally in an app you want to better use the tablet screen not to take up
> more room. I'm assuming this is for a game where the situation is a bit
> different sometimes.
> See the cn1pocker demo. It includes this:
>
>
> UIManager.getInstance().setThemeProps(theme.getTheme(theme.getThemeResourceNames()[0]));
> cards = Resources.open("/gamedata.res", calculateDPI());
>
> Notice we give the target DPI explicitly which lets you determine the DPI
> you want on the given device.
>
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/f13e3e3e-3ffc-4a87-96ba-1652d5e56820%40googlegroups.com.