[PyQt] Menu layout problem

David Boddie david at boddie.org.uk
Sun May 6 01:46:41 BST 2007


On Sat May 5 23:17:07 BST 2007, Roberto Alsina wrote:

> It's strange, I am having a problem with the menus of one specific PyQt4
> app I am writing: The menus are too small for their content.
>
> You can see a picture here: http://flickr.com/photos/ralsina/485530306/

OK, so the keyboard shortcut is written over the main menu text.

> All other apps work well, including other PyQt apps. 
> 
> The same window, seen in designer works ok.
> 
> I have tried changing the Qt theme using qtconfig, and it makes no
> differenc, in all themes I get things like that (but not identycal. For
> example, on Motif that entry looks ok, but the submenu arrows overlap menu
> contents).
> 
> Maybe someone saw someting similar and can help me?

Can you post a link to your code, or at least post the relevant lines where
you create the menu?

David


More information about the PyQt mailing list