Jonathan Pobst wrote:
> Alex Shulgin wrote:
>> Jonathan Pobst wrote:
>>> How about this one?
>>
>> Yes, this patch fixes my issue.
>>
>> Unfortunately, it breaks things elsewhere: see attached screenshot for 
>> the sample.
>>
>> I'm now trying to properly override CalcPreferredSize method in 
>> ToolStripItem-derived classes to fix the whole issue.  My progress on 
>> this is, well... fair. ;)
>>
>> BTW, lets not forget about ToolStripDropDownMenu--it has it's own 
>> copy-pasted implementation of OnLayout method with minor changes.
>>
> 
> Ok, this will get out of hand pretty quickly, so lets take little steps. 
>  Attached is the same patch, except it moves your label1 back to the 
> left.  If this one is ok with you, I'd like to go ahead and commit it.

Many thanks, lets commit this. :)

Apparently, ToolStripMenuItem needs fixing next: the arrow is painted 
over the text as seen on my previous screenshot.

--
Cheers,
Alex

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to