Adding CSS to BBj controls
In order to apply styles to controls, you can use setStyle.
For instance, to put the Button into grid column two you would use
btn!.setStyle("grid-column","2")
To change the color of the text on the button to red, you would do
btn!.setStyle("color","red")
What other CSS properties do you know? Play with them, using setStyle on the controls, and setStyle and/or setPanelStyle on the Window. Do they all work as you would expect?
(At the time this page was created, the setPanelStyle was not yet documented)