Hi,
I see in the CUBA Sampler that the splitter has a Docking Button as shown in the attached image. Does anyone know how to add this to the UI?
Thanks all.
Hi,
I see in the CUBA Sampler that the splitter has a Docking Button as shown in the attached image. Does anyone know how to add this to the UI?
Thanks all.
Hi,
Actually, it is an internal feature of SplitPanel component. You can use it, but it can be changed or removed at any time, since it is not the part of public API.
Example:
@Inject
protected SplitPanel foldersSplit;
// ...
CubaHorizontalSplitPanel internalSplitPanel =
foldersSplit.unwrap(CubaHorizontalSplitPanel.class);
internalSplitPanel.setDockable(true);
internalSplitPanel.setDockMode(SplitPanelDockMode.LEFT);
Hi, @services
we’ve exposed the docking API for the SplitPanel
component. These changes will be published in release 6.9.0.
Regards,
Daniil.
Excellent.
Thanks for the work on it.