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

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



Well FlowView is part of CrucialLib, and I think that the new look  of all the automatic gui stuff depends an that setting. not sure though (can't test it now) . I had some trouble with the margin at first too, but felix really did a fantastic remake of his gui, so ....

jostM


James Harkins wrote:
It's been driving me nuts post-3.2 that the views inside a FlowView butt up against the top boundary (which was not the case in 3.2). Finally I found this in FlowView:

view.decorator = FlowLayout(bounds,margin ?? {2@0},gap ?? {4@4});

... where the vertical margin of 0 seems odd to me.

Should this be changed to the following?

view.decorator = FlowLayout(bounds,margin ?? {2@2},gap ?? {4@4});

hjh


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman