Jump to content

DBGrid action column image size


Lone Wolf

Recommended Posts

Hi, I've created a DBGrid with an action column in which I would like to put an image like this one:

certify.png.0ad991f8be0dafba8cf6c24896d57e4d.png

This is a PNG picture 37 pixel height and 151 pixel width. So I've created a TUniImageList component with these dimensions, but when I run the application the image is not rendered correctly. It is like this:

sample.jpg.9cce1b362624831548fdae3f153c20ca.jpg

How can I set the dimensions of the images?

Many thanks for answer!

Eros

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...