diff --git a/data/gui/adhoc_commands_window.ui b/data/gui/adhoc_commands_window.ui
index 80b8146cd57f012422b3cb4700a367dc86df74bc..8446cbee58203bffd359edcc7c0a72af4b6df31a 100644
--- a/data/gui/adhoc_commands_window.ui
+++ b/data/gui/adhoc_commands_window.ui
@@ -119,7 +119,7 @@
                     </child>
                   </object>
                   <packing>
-                    <property name="expand">False</property>
+                    <property name="expand">True</property>
                     <property name="fill">True</property>
                     <property name="position">1</property>
                   </packing>
@@ -385,7 +385,7 @@
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
+            <property name="expand">True</property>
             <property name="fill">True</property>
             <property name="position">0</property>
           </packing>