Skip to Content

How ist the height in cl_gui_docking_container calculated?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers