There’s two ways to go about keeping full size — especially in conjunction with browser resize:
1. Add a BrowserResizeHandler bead to your application. 2. Use a “Flex” layout bead in your main view. (“flex” CSS with a flex-grow on the main content will cause it to stick to the full size) These two methods can be used in tandem. Someone really should write this up for users…. HTH, Harbs > On Jan 3, 2018, at 3:47 PM, Olaf Krueger <[email protected]> wrote: > > Hi, > I just set the width and height of a group to "100%" in order to let the > content fit the browser window but this doesn't work for me. Especially > after browser resizing. > This is an example of what I mean with "fullscreen" [1]. > It seems that in this example the fullscreen layout is achieved by this [2]. > > How can we achieve a fullscreen layout with Royale? > > Thanks, > Olaf > > [1] http://bl.ocks.org/jfsiii/5380802 > [2] > html, body, .viewport { > width: 100%; > height: 100%; > margin: 0; > } > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/
