On Jun 5, 2008, at 4:24 AM, Simen Haugen wrote:
> I just found out that I've been unsubscribed from the dev.
> Mailinglist,
> so I'm not sure if my post got there.. In case it did, ignore this
> double post...
It got through. Most likely your address had been previously
whitelisted.
> When using submenus, the caption is positioned almost outside the
> box on
> the right side. Only the first characters is shown, and the rest
> clipped.
>
> -------
> |Menu |
> ----------
> | Sub|
> ------------------
> | Sub|
> |------------|
> | MenuItem |
> --------------
>
> There is a strange thing here though. The above is when I'm using
> py2exe.
> When launching with python normally, I get a slightly more correct
> result:
>
> -------
> |Menu |
> -----------
> |Submenu >|
> ------------------
> | Sub|
> |------------|
> | MenuItem |
> --------------
>
> This has been a bug for quite some time if I remember correctly.
It's the result of the different ways that menus are handled under
Windows.
Try this: in dMenu.py, look for the _setCaption() method. In there
you will see these lines:
if isPopup:
# This is only needed for popups
self.SetTitle(val)
Try commenting them out, and re-running the app. Let me know if this
fixes it for you.
-- Ed Leafe
_______________________________________________
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/[EMAIL PROTECTED]