   (fg/defcomponent
     window/window
     :layoutdemo
-    {:clip-size (m/defpoint 7.125 5.5)
-     :position-matrix (m/translation 6 0.25)
+    {:clip-size (m/defpoint 5 3.5)
+     :position-matrix (m/translation 4.0 0.25)
      :layout layout-cfg
      :text "Layout"
      :evolvers {:layout layout-evolver}}

                                   :children {:textfield (fg/defcomponent
                                                           textfield/textfield
                                                           :textfield
                                                           {:clip-size (m/defpoint 4.875 4.375)
                                                            :position-matrix (m/translation 0 0)
                                                            :multiline true
                                                            :auto-size true
                                                            :paint-border false})}})}})

    (fg/defcomponent button/button :apply
      {:text "Apply"
       :position-matrix (m/translation 0.125 5.0)
       :clip-size (m/defpoint 4.875 0.375)})))

(def root-panel
  (fg/defcomponent

    {:theme flatgui.theme/dark
     :clip-size (m/defpoint 40 20)
     :background (awt/color 9 17 26)

     ;; TODO this should be a part defroot probably
     :closed-focus-root true
