Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Positioning controls within WebSplitter
posted

I guess with the Splitter control you can't postions controls within aka: relative or absolute even with a DIV tag, the slider does nothing but ignore the controls and slides underneath. I was hoping I didn't have to use tables etc... Please advise if anyone has a good solutions.

  • 24497
    posted

    Hi,

    All html elements used by WebSplitter including ContentPane(SplitterPane) have flow layout. That means that if you want to position child controls with absolute positions, then you should wrap them into a div with relative position. Below is an example for template of SplitterPane:

    <Template>
     
    <div style="position:relative;width:100%;height:100%;">
         
    <span style="background:green;position:absolute;left:100px;top:100px;">Child with abs position</span>
      
    </div>
    </Template>