676 void ui_layout_vexpand(UiObject* obj, UiBool expand) { |
676 void ui_layout_vexpand(UiObject* obj, UiBool expand) { |
677 UiContainer* ct = uic_get_current_container(obj); |
677 UiContainer* ct = uic_get_current_container(obj); |
678 ct->layout.vexpand = expand; |
678 ct->layout.vexpand = expand; |
679 } |
679 } |
680 |
680 |
|
681 void ui_layout_hfill(UiObject *obj, UiBool fill) { |
|
682 UiContainer *ct = uic_get_current_container(obj); |
|
683 ct->layout.hfill = fill; |
|
684 } |
|
685 |
|
686 void ui_layout_vfill(UiObject *obj, UiBool fill) { |
|
687 UiContainer *ct = uic_get_current_container(obj); |
|
688 ct->layout.vfill = fill; |
|
689 } |
|
690 |
681 void ui_layout_width(UiObject* obj, int width) { |
691 void ui_layout_width(UiObject* obj, int width) { |
682 UiContainer* ct = uic_get_current_container(obj); |
692 UiContainer* ct = uic_get_current_container(obj); |
683 ct->layout.width = width; |
693 ct->layout.width = width; |
684 } |
694 } |
685 |
695 |