If I make button relatively small, it\'s caption turns to ellipsis.
How to turn off this feature?
It puts ... because there's no room for the text. You can use bigger buttons or a smaller font but if you really want the dots gone use button.setEllipsisString(""); , but then you just get truncated text.
button.setEllipsisString("");