This content has been marked as final. Show 2 replies
also vertical and horizontal alignment don't work properly.. all in all, having scalegrid affect how content is placed is simply a step backward and makes it so much harder to customize the look of the components and place content where it's supposed to go.
Obviously, if you're just dragging factory-built components into the stage, it's easy when you don't have to worry about margins and layout, but come on... let's not cut the wings from people who wan't some control over the look of their apps. Add a padding box in the Standard View for components and use default values for padding instead.
... still, setting clipContent = false is hardly a solution if you want scrollable content... unless you add another transparent container to clip the content and control scroll.
Here's a set of skins I've made for flex2..
Getting them right wasn't too hard although some components still lacked ability to tweak paddings/borderThickness.. Now, I wonder how far I can get with flex3 when it's trying to stretch the skin each time around the content? If you look at the panel skins, you'll notice that the skin has some graphic style behind the panel content. The stretching gridsquare is below and to the right of this, so the panel stretches alright, but it's obvious that I wouldn't want the content to follow the scalegrid in any way. Only thing the content should obey are the paddings ( 'borderThicknesses' in flex2).