Ticket T965382
Visible to All Users

XAF Blazor ignores view layout settings

created 4 years ago

Hello,
I have Detail View designed in Model Designer with the empty spaces on the top right set to "Fixed height" and all properties Text Alignment set to Left

Clipboard-File-1.png

when I open this view in popup, it ignores all the setting and shows the view with text on top and editors on the right not aligned correctly

Clipboard-File-2.png

How I can fix it?
Thank you.

Answers approved by DevExpress Support

created 4 years ago

Hello, Tim.

With XAF's Blazor UI v21.1.4, you can set the CaptionLocation property in the Model Editor under the Options | LayoutManagerOptions or DetailView | Layout | Item nodes.

Clipboard-File-1.png

Example for CaptionLocation = Top

Clipboard-File-2.png

    created 4 years ago

    Hi Tim,

    At the moment, XAF Blazor supports only the vertical caption orientation in popup windows. We will consider the possibility of supporting the horizontal orientation in popup windows. I cannot give you any promises or estimates though.

    As for your second issue, I suggest you use Static Text View Items without text instead of empty spaces.

    Please let me know if you have other questions.

      Comments (2)

        Hi Gosha,
        The solution to use Static Text Item did not work. I created 4 empty items with caption and text set to one empty space, added to the page design, and locked all heights.

        Clipboard-File-1.png

        It still does not align propertly

        Clipboard-File-2.png

        Please advice.
        Thank you.

        DevExpress Support Team 4 years ago

          Hi Tim,

          A custom height is not applied to Static View Items. The Bootstrap theme specifies it. By default, it's 21 px. I suggest adding as many Static View Items as necessary to create the required gap height.

          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.