Hi.
How could i adjust the width of buttontools on the toolbar according to text width?
Are you changing the Font size of individual tools? I don't believe the tools take into account their Font when measuring. I think this is ignored so all tools in the toolbar have the same height. If you do want to change the Font, change it on the toolbar's settings.
Anyone?
The problem still exists, when tools are added dynamically, they have default width (and width property is read-only in runtime)
Mike Dour"]Are you changing the Font size of individual tools? I don't believe the tools take into account their Font when measuring. I think this is ignored so all tools in the toolbar have the same height. If you do want to change the Font, change it on the toolbar's settings
Well, that is not the case. I do not change font settings at all.
I build the toolbar dynamically, and all tools added all have the default width regardless of actual text.