Lone Wolf Posted February 28, 2022 Share Posted February 28, 2022 Hi, I've created a DBGrid with an action column in which I would like to put an image like this one: 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: How can I set the dimensions of the images? Many thanks for answer! Eros Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 28, 2022 Share Posted February 28, 2022 1 hour ago, Lone Wolf said: This is a PNG picture 37 pixel height... Hello, You can try using CSS like in this post, by specifying the width and height properties: Quote Link to comment Share on other sites More sharing options...
Lone Wolf Posted March 2, 2022 Author Share Posted March 2, 2022 Hi, I've tried this: .x-action-col-icon { width: 151px; height: 37px; } but it doesn't work! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.