On Feb 26, 2015, at 6:13 AM, Werner <[email protected]> wrote:

> There is this code in menu._createMenuItem:
> 
>        dummySpacer = None
>        if not self.Children:
>            dummySpacer = _actualCreation(" ", "", None, "")
>            dabo.ui.callAfter(self.remove, dummySpacer)
> 
> What is the purpose of this, we create it and then remove it later?
> 
> If I comment it I ClassDesigner starts with Classic and Phoenix (after a few 
> deprecation fixes for Menu) and looks fine - but again I don't normally use 
> this so ....:)

That was over 6 years ago, so I don't remember what exactly was the problem, 
but it does appear to be one of those things that was necessary to get the      
   UI to respond properly. Can you run the MenuBuilder with and without it to 
see if it makes a difference?


-- Ed Leafe







--- StripMime Report -- processed MIME parts ---
multipart/signed
  text/plain (text body -- kept)
  application/pgp-signature
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to