It seems, the DrawableButton always puts borders around the image? Or am I doing something wrong?
My code looks something like:
myDrawableButton.setImages(&normal, &highlighted); myDrawableButton.setEdgeIndent(0); myDrawableButton.setButtonStyle(DrawableButton::ImageFitted);
Later on I use the normal setBounds function:
... myDrawableButton.setBounds(startX, startY, buttonWidth, buttonHeight); ...
But there still is an inner border, as you can see from the attached screenshot. The border is in red around the image. How can I remove the border and let the image fill the whole button?