CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

MudSplitter questions

Open Cybrosys opened this issue 11 months ago • 4 comments
trafficstars

Hello,

Maybe this has been asked and answered before, but I was not able to find those answers.

I'm trying to achieve a sort of file explorer type layout behavior (one content is locked while the rest fills the space) and I was wondering if it's possible with MudSplitter or not.

What I'm trying to achieve is the following:

  • The StartContent has a starting/initial size in pixels (or some other unit) and the EndContent fills the remaining area.
  • The StartContent size should remain the same if the browser window is resized.
  • The user can use the splitter to change the size/dimension.
  • The Start- and EndContent should have a minimum size set which prevents the splitter bar from moving all the way to the left or right.

The only property I could find to set an initial size was Dimension, however that is percentage based and thus means different things depending on the browser window.

So, is it possible to set initial pixel sizes or placement of the divider, and lock the StartContent so it doesn't resize when the browser window changes in size etc.?

Cybrosys avatar Dec 17 '24 20:12 Cybrosys