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
710
Set button column width to minimum needed.
posted

 I have a button column that displays an image in the button.  The image is very small, so the button could be fairly narrow, but it defaults to a much larger size.  This looks bad and wastes space.   How can I either:

 1. Make the grid automatically size the column to the minimum width needed to show the image on the button?

 2.  Manually resize the column to the minimum width needed (the problem here is determining what that width should be, given an image width.)?