Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2549
Ultragrid, ColumnStyle.Button and image scaling
posted

Hi all,
I am currently struggling with Buttons in cells defined by setting the Style property to ColumnStyle.Button.

While everything works fine regarding the technical part, I can not figure out how to overcome the following problem.

I set the ButtonAppearance.Image to an image and it is displayed fine. The problem is that the image scales and looks kind of "strange" when I have to deal with multiline columns in the related row. I fixed the with (max/min) of the column by setting it to 20px. Unfortunately the image scales its height so the image becomes higher but keeps its width.

Is there a way to deal with that? I just wan't to have a unique height/width on that image without it scaling.

Any help is kindly appreciated,

have a great day
Andy 

Parents Reply Children
No Data