diff --git a/core/src/cz/nic/tablexia/util/ui/button/TablexiaButton.java b/core/src/cz/nic/tablexia/util/ui/button/TablexiaButton.java
index df9d396f3f059a64b2973262934d8d29327ed684..a92e9e9d2d017b7b25f1e633e5e21eefe80354e2 100644
--- a/core/src/cz/nic/tablexia/util/ui/button/TablexiaButton.java
+++ b/core/src/cz/nic/tablexia/util/ui/button/TablexiaButton.java
@@ -154,6 +154,7 @@ public class TablexiaButton extends Group {
         textLabel = new TablexiaLabel(text, new TablexiaLabel.TablexiaLabelStyle(fontType, DEFAULT_TEXT_COLOR));
         textLabel.setAlignment(DEFAULT_TEXT_ALIGN);
         textLabel.setWrap(wrapText);
+        textLabel.pack();
         TEXT_LAYER.addActor(textLabel);
 
         setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
@@ -182,6 +183,7 @@ public class TablexiaButton extends Group {
     public TablexiaButton text(String text) {
         if (textLabel != null) {
             textLabel.setText(text);
+            adjustBounds();
         }
         return this;
     }
@@ -448,6 +450,7 @@ public class TablexiaButton extends Group {
             setSizeForImage(pressed, pressedPatch);
             setSizeForImage(solarized, solarizedPatch);
             setSizeForImage(disabled, disabledPatch);
+            textLabel.pack();
             setSizeTextLabel(textLabel);
             super.setBounds(x, y, width, height);
             super.sizeChanged();