http://bugs.winehq.org/show_bug.cgi?id=12553 --- Comment #22 from Igor Tarasov <tarasov.igor(a)gmail.com> 2009-04-19 10:01:40 --- Created an attachment (id=20552) --> (http://bugs.winehq.org/attachment.cgi?id=20552) Fix button height This patch fixes button height and partly width problems. The problem was that TOOLBAR_SetImageList did toolbar recalculation even when it was not necessary, thus rewriting pre-defined button sizes. To see this bug with control spy (v1 used) do this: 1. Change styles, add "TBBSTYLE_LIST" style. 2. Change ButtonSize (TB_SETBUTTONSIZE) to, say, 30,30. 3. Send TB_AUTOSIZE. 4. Send TB_SETIMAGELIST. You'll see that button sizes have changed, even though imagelist was actually the same. With native comctl, button sizes would stay unchanged. So, this patch checks if current toolbar's bitmap sizes differ from new imagelist ones, and would recalculate toolbar and change button sizes only if these have really changed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.