Hi, Hildon themes add a border to any menu, so the size of the menu elements is not correct.
I've attacched 2 screenshots of a Qt4 application on my Nokia Internet Tablet. The first one looks good, but the second one has troubles.
- screenshot03.png 53.58KB
- screenshot00.png 55.43KB
Comment #1
Posted on May 31, 2008 by Grumpy BirdI have to correct myself. It seems that the menu elements size is good. The problem is in the menues size itself. Here i've attached a screenshot of a real GTK app on maemo. GTK Menues are bigger than Qt ones. Can we fix it via QGTKStyle, or do we need to patch Qt? Thank you,
Antonio
- screenshot01.png 77.21KB
Comment #2
Posted on Jun 1, 2008 by Grumpy MonkeyThanks for the pictures. I think most of the issues can be resolved within QGtkStyle. The most critical issue from your screenshots seems to be the fonts though. Have you tried setting the fonts manually?
Comment #3
Posted on Jun 1, 2008 by Grumpy BirdI've tried to set different font styles up to 26 px of size and the problem is the same. Also I initially thought that this was a fonts problem. By the way it affects any menu element such as separators, "submenu arrows" and not only highlighted text. Probably we need to increment the margin around the menu.
Comment #4
Posted on Jun 2, 2008 by Grumpy MonkeyI am a bit puzzled about the menu as we already add the margins imposed by the style and it seems to work for other styles. I tried installing maemo on my desktop without success though so it's going to be a bit difficult to debug it. A positive note is that the system fonts seem to be easily available as part of the .rc file.
Comment #5
Posted on Jun 2, 2008 by Grumpy BirdI've written a post on my blog about the chinook sdk installation. I hope that it can help you to have a working maemo SDK. The post is available at http://www.gnuton.org/blog/2008/05/chinook-401-sdk-environment-funky-installation/
Comment #6
Posted on Jun 2, 2008 by Quick CamelI think the same? or similar bug can be reproduced when using the the murrine gtk-engine from http://www.cimitan.com/murrine/. In the upper part of the attached picture you can see how the menu normally looks like when drawn with gtk, the lower part show how qt draws the menu. the blue border on the left side isn't fully visible.
- gtkqt.png 13.85KB
Comment #7
Posted on Jun 3, 2008 by Grumpy Monkeydermar: Are you running the latest version? The missing line should be fixed and seems to work fine here. Exactly which Murrine theme are you running?
Comment #8
Posted on Jun 4, 2008 by Grumpy Monkeyantonio: latest revision should have a patch to get the menu padding. Perhaps you can try it on the device to see how it works.
Comment #9
Posted on Jun 4, 2008 by Grumpy Monkey(No comment was entered for this change.)
Comment #10
Posted on Jun 6, 2008 by Grumpy MonkeyClosing as I believe the reported issue is fixed.
Comment #11
Posted on Jun 7, 2008 by Grumpy Bird@jensbw I'm not disappeared! :) I haven't got my PC to check this patch. I'm going back home on tuesday. Thank you :)
Status: Fixed
Labels:
Type-Defect
Priority-Medium