lib/glimmer/libui/group_proxy.rb in glimmer-dsl-libui-0.0.6 vs lib/glimmer/libui/group_proxy.rb in glimmer-dsl-libui-0.0.7

- old
+ new

@@ -28,8 +28,16 @@ # Follows the Proxy Design Pattern class GroupProxy < ControlProxy def post_initialize_child(child) ::LibUI.group_set_child(@libui, child.libui) end + + private + + def build_control + super.tap do + self.margined = 1 + end + end end end end