PDA

View Full Version : Center QMenuBar



pakulo
15th May 2007, 11:36
I need in QMenuBar set all QMenu in the centre
See at the example:


| | | File | Edit | | |

jpn
15th May 2007, 11:44
Why...? Menu items are not widgets but drawn on the fly so I'm afraid there's no other way to hack around this but rewrite a custom menu bar.

wysota
16th May 2007, 14:03
You could probably do that by implementing a custom style (I think Mac has something simmilar with tab bars), but I don't really see a point of doing that.