On Sun, Aug 10, 2008 at 11:46 AM, Ed Leafe <[EMAIL PROTECTED]> wrote:
> On Aug 6, 2008, at 3:06 PM, Nate Lowrie wrote:
>
>> @@ -324,10 +336,14 @@
>> sz = self.Sizer
>> if self.ButtonSizerPosition is None:
>> # User code didn't add it, so we must.
>> + if sz.DefaultBorder:
>> + spacer = sz.DefaultBorder
>> + else:
>> + spacer = 10
>> bs = dabo.ui.dSizer("v")
>> - bs.append((0, sz.DefaultBorder/2))
>> + bs.append((0, spacer/2))
>> bs.append(self.ButtonSizer, "x")
>> - bs.append((0, sz.DefaultBorder))
>> + bs.append((0, spacer))
>> sz.append(bs, "x")
>> self.layout()
>
> Can you explain this change? What is the source of the default of the
> value '10' as the default?
If I override the DefaultBorder setting and set it to 0, then the
buttons look very squished and distorted. This fixes the problem. 10
seemed like a reasonable number.
Nate L.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/%(messageid)s