Skip to Content
0

How ist the height in cl_gui_docking_container calculated?

Oct 13, 2016 at 07:31 AM

124

avatar image

Hello,

I am confused about the height of a docking container (ABAP 740). Look at my coding:

 mo_cont_toolbar = new cl_gui_docking_container(
 extension = 10
 metric = '1'
 side = cl_gui_docking_container=>dock_at_top ).
 mo_cont_toolbar->get_height( importing height = mv_dummy ).
 cl_gui_cfw=>flush( ).
    " now mv_dummy = 37 why?
 mo_cont_toolbar->set_height( 10 ).
 mo_cont_toolbar->get_height( importing height = mv_dummy ).
 cl_gui_cfw=>flush( ).
    " mv_dummy is still 37...
As you see, i set the extension to 10. On screen, i see a 37 pixel height container. This is also the result of the get_height( ) call. After that, I try to set the height again to 10 - but no change.

Anybody who knows about the relation between extension, set_height and get_height?

Best regards

Jörg

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers