Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Allow ImageTextButton to have image and label on separate rows #1110
You can do this outside of the ImageTextButton:
button.clearChildren(); button.add(button.getImage()).row(); button.add(button.getLabel());
I think I prefer this over making it a configurable option, as there are other configurations (eg, label then image, label then image on next row, etc) and fewer config options is better.