button gives wrong size image

In Mx5 i have a button with an Image of 256x256px. In the runtime the button is visible with a small image. Do I miss a property, is it a limitation or a bug.
2 answers

Button icons are automatically constrained to 14x14 with css, so that all buttons look consistent throughout the application. If you want to change the size of all button icons, you could add this to your theming:

.mx-link img,
.mx-button img {
    width: 256px;
    height: 256px;

If you want to change only one or a few buttons, you could add a class to those buttons in the Modeler, and use that class to set the correct dimensions.


In all my 4.4.3. projects i have used png images on buttons with the size of 16x16, 32x32 or 48x48 and they all looks good. Now in Mx5 the buttons are small. I think 14x14 indeed.

So for me this sounds like a bug.