‎2005 Apr 28 1:40 PM
Hello,
I have a dynpro with a docking container on the top level. Embedded in this are some nested splitter containers (easy splitter containers at the moment). Generally I like the fact that the splitters are resizing automatically when I change the screen size but now I want one of the two containers of a (easy) splitter container to stay fixed in size. Reason is that I embedded a cl_gui_toolbar which is actually fixed in size and looks quite odd when there's a lot of unused space around...
Looking forward to any suggestions !
Best regards,
Patrick Baer
‎2005 Apr 28 2:29 PM
Have you tried working with the following methods?
call method:
splitter->set_row_height
exporting id = 1
height = '14',
splitter->set_row_sash
exporting id = 1
type = 0
value = 0.
*** or
call method:
splitter->set_column_width
exporting id = 1
width = '14',
splitter->set_column_sash
exporting id = 1
type = 0
value = 0.
Regards,
Rich Heilman
‎2005 Apr 28 2:21 PM
Hello Patrick,
I'm not sure I understand you correctly.
-----------------------------------------
| |
| docking container |
|---------------------------------------|
| | |
| toolbar | |
|---------------| |
| ^ | | <----- screen
| | | |
| | | |
| |-->| |
| | | |
------------|----------------------------
|
Easy SplittersIf the above is a correct visualization of the situation, then you will not be able to restrict just the TOOLBAR area from resizing. If the rest of the screen resizes and just one area doesn't, it would certainly look bad. Though in your case it may seem desirable.
You should probably think about subscreens and resizing attributes...
Regards,
Anand Mandalika.
‎2005 Apr 28 2:29 PM
Have you tried working with the following methods?
call method:
splitter->set_row_height
exporting id = 1
height = '14',
splitter->set_row_sash
exporting id = 1
type = 0
value = 0.
*** or
call method:
splitter->set_column_width
exporting id = 1
width = '14',
splitter->set_column_sash
exporting id = 1
type = 0
value = 0.
Regards,
Rich Heilman
‎2005 Apr 28 2:53 PM
Anand,
your drawing of my screen was quite good
But it seems you are correct when it comes to the - non existent - solution to my problem.
Rich,
thanks for the code, it did in fact make the sash fixed but only to the user. When the window resizes the sash position will still change.
Nevertheless thanks to both of you.
I will leave the thread unsolved a little longer - maybe someone finds a solution.
Best regards,
Patrick Baer
‎2024 Nov 05 5:54 AM