On 2015-05-10 09:04, David Bovill wrote:
What considerations do I have when creating a widget in Livecode Builder for cross-platform use? Do they look the same on all platforms? Any gotchas?

Currently, they look the same on all platforms.

There are two main "gotchas":

1) Don't try to do very much in OnCreate() other than basic initialisation of the widget.

2) Do as little as possible in OnPaint() (for example, avoid computing the sizes that things need to be). Any work done in OnPaint() slows down the rendering of the whole app. The fewer computations you do in OnPaint(), the snappier your widget will feel!

                                  Peter

--
Dr Peter Brett <[email protected]>
LiveCode Engine Development Team


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to