Dynamically position item

Stimulsoft Ultimate discussion
Post Reply
PavelPancocha
Posts: 3
Joined: Wed Mar 22, 2023 4:27 pm

Dynamically position item

Post by PavelPancocha »

Hello!

I have some elements that can be disabled by conditions. How can I use the free space with other elements?

See image
IBNj.png
IBNj.png (19.98 KiB) Viewed 8379 times
I would like the down element to occupy the freed-up space. How to do it?


Thank you!

Pavel
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: Dynamically position item

Post by Lech Kulikowski »

Hello,

Please try to use the DockStyle=Top property.

Thank you.
PavelPancocha
Posts: 3
Joined: Wed Mar 22, 2023 4:27 pm

Re: Dynamically position item

Post by PavelPancocha »

It is on top afterwards, but it overlaps the items on top which are always fixed. Also it grows to maximum with automatically - I don't want that. Maybe I am doing something wrong? I am using individual text components, maybe something else can be used to make this easier?

Thanks for any proposals
Snímek obrazovky pořízený 2023-03-23 09-52-31.png
Snímek obrazovky pořízený 2023-03-23 09-52-31.png (92.75 KiB) Viewed 8375 times
PavelPancocha
Posts: 3
Joined: Wed Mar 22, 2023 4:27 pm

Re: Dynamically position item

Post by PavelPancocha »

Ok, maybe I found the way. I can use the panels, dock them to the top and place the text components inside them.

Is there any way to re-order the docked components? They always keep the order they were added to the band.

Thanks!
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: Dynamically position item

Post by Lech Kulikowski »

Hello,

You can reorder it in the Report Tree tab.

Thank you.
Post Reply