Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Images in menus causing enormous padding
| Images in menus causing enormous padding [message #14639] |
Wed, 05 March 2008 16:29  |
mordrek
Messages: 3 Registered: March 2008
|
Junior Member |
|
|
Hi.
I'm doing a menu-manager that creates menus from loaded XML files and all is fine and dandy except for when adding image to the menu after loading it from file:
bar.Add(title,THISBACK1(MyCallback,name)).Image(image);
The image appears in the menu alright, but even though the menu image itself becomes very small (fitting for a menu item), the space around it is as big as the original image when it comes to height.
It looks like this (@ is the image):
---+----------------+
| |Menu item 1 |
+--+----------------+
| | |
| | |
| @|Menu item 2 |
| | |
| | |
+--+----------------+
Anyone know how this can happen or how to solve it?
|
|
|
|
Goto Forum:
Current Time: Thu May 07 08:12:37 GMT+2 2026
Total time taken to generate the page: 0.00447 seconds
|