Another question re TImageList and Buttons. How do I adjust the position of an image that I have placed in a TButton (or Speedbutton)?


Another question re TImageList and Buttons. How do I adjust the position of an image that I have placed in a TButton (or Speedbutton)?

Comments

  1. Could not figure out a Style that does the layout as I want. Switched over to using a TGlyph and I have complete control over positioning. Will test it some more but appears that is may be the solution

    ReplyDelete
  2. Have you tried Image Margin . Setting Left margin to positive values will shift it towards right. But at the same time move caption relatively
    By using combination of Left margin value and Right margin value you can arrive at required position for both image and caption.

    ReplyDelete
  3. I don't find an Image Margin Setting. And using the Margin setting in the button seems to have no effect at all. I think I have given up on using the Images setting inside buttons in Firemonkey,TGlyph seems to do the trick for me. Thanks

    ReplyDelete

Post a Comment