I would like to make LabelTool to auto size its content. Is there a setting for it?
Are you saying you want the width of the LabelTool to be just enough to fit it's text and image? If so, that is the default behavior of the LabelTool. Otherwise, I'm not sure I understand the question.
No its not auto sizing, If I do what sugested here for my earlier question, I can resize it, but I would like it to auto size it .
It looks like it is auto-sizing, but it is leaving room for an image, which isn't present. If you know you won't be specifying an image, set the SharedProps.DisplayStyle to TextOnlyAlways. That will remove the extra space on the left.
Thank you that did the work.