Rakesh Devarasetti
Rakesh Devarasetti

Reputation: 1429

How to avoid Image position change in TSpeedButton when caption changes?

I need to arrange all buttons icons on same alignment. But as the caption length changes button image position changes... Please suggest me the way to avoid it. I am using TSpeedButton.

TSpeedButton with different captions

Upvotes: 2

Views: 1146

Answers (1)

Kromster
Kromster

Reputation: 7397

You can achieve that by editing Margin property of TSpeedButton. That way all the glyphs will be aligned to Layout and offset by Margin value.

Upvotes: 5

Related Questions