Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Content Top Margin

Last post 08-11-2008 8:53 by [Infragistics] Rumen Stankov. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-10-2008 21:56

    Content Top Margin

    I have a couple of dialogs using the default style. The content pane has a margin to the left, right and bottom. each about 4 or 5 pixels. but there is no top margin around the content pane. Try as I might I cannot figure out how to get a 4 to 5 pixel space between the tile bar and the content pane. I even tried the app styler, which either did not work, or did not show my modifications to the style in real time. Other non-default styles have this top spacing, but I like the default style otherwise.

     

    • Post Points: 20
  • 08-11-2008 8:53 In reply to

    Re: Content Top Margin

    Hello,

    Yes, I was able to reproduce that, but the weird thing is that I could not find a theme that has this margin (for example, Pear theme does not have it too). In any case, I was able to find a workaround that I hope will work fine for you - a div element enclosing your content with padding-top. Example 

        <ig:WebDialogWindow ID="WebDialogWindow1" runat="server" Width="310px" WindowState="Normal" StyleSetName="Pear" StyleSetPath="~/ig_res"
            Height="185px" Left="0" Top="10px" Style="z-index: 30; line-height: normal; padding-bottom: 10px;">
            <ContentPane>
                <Template>
                    <div style="padding-top:15px">
                   
                    </div>
                </Template>
            </ContentPane>
        </ig:WebDialogWindow>

    Is this approach applicable in your setup? 

    Best Regards,
    Rumen Stankov (MCSD.NET)
    The Infragistics ASP.NET Team
    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems