PDA

View Full Version : Cannot access all the items in the QMenu for Large font .



vaibhav
30th August 2011, 08:34
Hi,
I have an application were i can set the font size to 48 or 72 .
With this font size Menu's within the Menu Bar ( QMenu ) occupies full screen.
Now if i have 10 items in the Menu only 7 are visible and i don't have access to remaining three .
No scrollButtons are provided by QT either to navigate to remaining items .

Please let me know how to access all the Menu items in such situation .?

Any help would be appreciated.

Thanks

wysota
31st August 2011, 09:03
Please provide a minimal compilable example reproducing the problem.

vaibhav
7th September 2011, 12:04
68296830
Please find the attached images .
My application has the feature to change the font for the menus within the application.
First image font _9.png shows Menu under File Menu Bar with font size 9.
Second image font_48.png shows font with size 48 and one could see the list doesn't contain all the list as in font_9.png and QT doesn't even provide the buttons to access those either .

ChrisW67
7th September 2011, 12:11
What purpose does setting such a large font on a 24 item menu achieve? Can it better be achieved with with another UI element or nested menus?

vaibhav
7th September 2011, 12:23
Some of these 24 items itself have some nested menus already which i have not shown..
U are right about why to set such large font ... But unfortunately datz the requirement that i have and i can't change so i have to need to find the solution for it.

wysota
7th September 2011, 13:59
Your picture doesn't help in anything. Please provide code we can analyze.