[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] FlowView vertical margin is 0?




the other thing that can be done there is to use the skin's default settings.

gap and margin can be stored there.
some question as to how the crucial lib should politely init itself.  maybe a separate default.
or it could push the default when doing a .gui then pop it back

thus other people using FlowView by itself would have their own default skin.

ideally for situations where you want to have a gap then you should use a more formalized wrapper view that has margin and padding.  and in fact that might be the best thing:  create a class just meant for adding pretty space and use that.



On Mon, Dec 8, 2008 at 5:57 PM, jostM <sc3@xxxxxxxx> wrote:
I think felix is taking a break from gui at the moment, so he probably won't tell us more just now

at least it doesn't have to be IE compabtible.

just don't mention the box model.



 


James Harkins wrote:
On Mon, Dec 8, 2008 at 11:18 AM, James Harkins <jamshark70@xxxxxxxxx> wrote:
  
I could just go thru every use of FlowView in my lib and explicitly
state the margin. But I tend to think the default behavior should be
aesthetically pleasing / what users would expect.
    
Hmm... reading Jost's message more carefully, I guess there is other
stuff depending on the 0 margin, so never mind :)  I'll edit where I
need to in my code.

hjh

  

The odd thing is that when I started adjusting my own stuff, no default seemed to fit the general ticket. SCCompositeView et al are usually nested a lot in a complex layout. So I almost wanted the margin to default to 0@0. 

But Ill make a special mention of margins in my gui intro ;-)

jostM