> by changing its height to, say, 16 pixels. > Bar looks nice now. > But there is a first issue: try set "hide icon" for this item then > empty space will be displayed at left side of it and label (name)
This is by design. The idea is that if you use this check box to hide an icon, then you presumably will want to show one programmatically at some point, and so the button should leave room for it so that showing the icon does not cause the text to move. > Now try get first item thinner like before and change its height to 16. > BUG: Hmmm, second items overlaps first and label of first are pushed > out of its boundary. I will fix this, so that the text stays within the button, but you are correct that you need skins to accurately control text placement. > And now suggestion: can you make that cutting items boundary (in case > of decreasing height) will be done relative to text label position - > not center like it is now? Sorry, I don't really want to make changes to the drawing code at this time, as it is a pain to change and liable to break something else. > Other solution might be removing/(real)hiding iconbox control, so > textlabel control might be centered in the item's boundary. Why do you hide the icon if you never intend to put one there? Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
