On Mar 24, 2007, at 5:40 AM, Merf wrote:
> I might be completely misunderstanding the use of Dabo's sizers (in
> which case I apologise for taking up your time), but what would be
> wrong with having a pair of simple radio buttons, 'Auto' and
> 'Manual', to control the initial/default size of a panel?
You can certainly do that with individual panel classes. When you
select 'New' from the Class Designer menu, you select the class,
along with a checkbox to determine whether you want to use a sizer-
based design or not.
The problem comes when trying to mix sizer-based designs and non-
sizer-based designs. Why? It stems from the fact that sizers don't
actually exists as visual objects, and in order to make designing
with them possible, I had to adopt some internal conventions. They
work great as long as everything is sizer-based, since that's the way
that I originally conceived of it. Later I modified the code to allow
for absolute size/position designs, but the control of this behavior
is at the individual design level, not at the individual control
level. So any given design can work one way or the other, but mixing
the two is a big problem.
When I start work on the IDE over the next few months, I'm certainly
going to revisit a lot of the design decisions that were made to see
if perhaps there are better approaches and solutions. You can bet
that this will be one of them.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users