Cabbage Logo
Back to Cabbage Site

Is support for $SCREEN_WIDTH and HEIGHT macros in imported bounds() possible?

When importing a group of widgets, the bounds() statement doesn’t appear to support $SCREEN_ macros.

For example, this doesn’t work and I need to manually expand the macros in each instance:
WidgetGroup bounds(0,0,$SCREEN_WIDTH, $SCREEN_HEIGHT), channel("test"), namespace("MyNamespace")

I’ll take a look, but right now it’s a little down my list of priorities, which is solely focussed on getting a new official release out to the public :wink:

That’s fine with me, I just wanted to get it out there in case it was so easy that NOT getting it into the release was even more trouble.