Real width of UI

Develop and Deploy Native Apps for Windows, OS X, Linux, Unix ...

Real width of UI

Postby wahono77 » Wed Nov 27, 2013 3:40 am

I set a UI with width=100
I set this UI.dock=width
How to get real width when running, I try using UI.getWidth(), but I got 100 whereas this UI is resized to whole of screen, it's width should be 1366.

How to fix it?

Thanks
wahono77
 
Posts: 90
Joined: Sat Apr 13, 2013 6:04 am

Re: Real width of UI

Postby support » Wed Nov 27, 2013 8:54 am

javascript code
UI.getRoot().width();
support
 
Posts: 352
Joined: Sat Apr 27, 2013 9:22 am

Re: Real width of UI

Postby wahono77 » Thu Nov 28, 2013 6:11 am

Thank you very much
wahono77
 
Posts: 90
Joined: Sat Apr 13, 2013 6:04 am


Return to CrossUI for Desktop Apps

Who is online

Users browsing this forum: No registered users and 0 guests

cron