Skip to content

Instantly share code, notes, and snippets.

@furlan
Created July 20, 2012 14:40
Show Gist options
  • Save furlan/3151069 to your computer and use it in GitHub Desktop.
Save furlan/3151069 to your computer and use it in GitHub Desktop.
Splitter Container
* Create main Container.
CREATE OBJECT container
EXPORTING
container_name = 'CONTAINER1'.
* Horizontal split
CREATE OBJECT splitter
EXPORTING
parent = container
orientation = cl_gui_easy_splitter_container=>orientation_horizontal
with_border = 1.
* Section 1
container_1 = splitter->top_left_container.
* Container for Section 2 and 3
container_r = splitter->bottom_right_container.
* Vertical split.
CREATE OBJECT splitter
EXPORTING
parent = container_r
orientation = cl_gui_easy_splitter_container=>orientation_vertical
with_border = 1.
* Section 2.
container_2 = splitter->top_left_container.
* Section 3.
container_3 = splitter->bottom_right_container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment