Allow split container to be smaller than children

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bowidl

I have a HSplitContainer with some nested containers on the left side and eventually a LinkButton. The LinkButton displays an absolute file path, so it gets rather long.

I want to be able to shrink the left side, which would hide parts of the LinkButton. However, I cannot move the dragger of the SplitContainer beyond the LinkButton.

In other words, the LinkButton determines the size of the SplitContainer.

How to fix this?

[Here’s the hierarchy] 1
Here’s what it looks like

you missed the links :stuck_out_tongue:

Andrea | 2021-10-04 08:19

:bust_in_silhouette: Reply From: GrayDwarf

I’m looking for a solution to this problem as well. Any chance you solved this?

A workaround for your case might be to use a clickable label and set the clip_text property to true. I tested that and it works but it’s not a solution for all the other controls I have.