Ticket T1284179
Visible to All Users

Vertical DxSplitter does not allow resizing

created 4 days ago

Hi

I have a simple vertical DxSplitter with 2 panes on my page, but it doesn't allow resizing. It is able to collapse, but nothing happens when I try to drag to resize the two panes.
The same configuration using horizontal works fine.

See attached project. Run the project, then click on Test Splitter and attempt to drag the resize bar.

Clipboard-File-1.png

Answers approved by DevExpress Support

created 3 days ago

Hi,

When the DxSplitter component does not have an explicitly defined height, it is rendered with the minimal possible height. As such, there is no space available for resizing. This behavior is not specific to DxSplitter. By default, block level elements without content or specified height will collapse to the smallest possible height.

To enable resizing, you need to set the Height property. Alternatively, you can wrap DxSplitter in a container with a defined height.

Let me know if you have further questions.

Regards,
Gian

    Comments (1)

      I see, thanks.

      It is not very apparent that this is the case. It works horizontal without a width.

      Also when collapsing using vertical it appears to have the entire screen height available (the bar is shown at the bottom), so why shouldn't the same apply for resizing? What height should I use for the DxSplitter to have the same space available for resizing (compared to when it is Collapsed)?

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.