WhiteSpace on Window

8 posts, 0 answers
  1. Antonis
    Antonis avatar
    33 posts
    Member since:
    Aug 2008

    Posted 05 Dec 2008 Link to this post

    Hi, 

    i am trying to attach a usercontrol on a window. My problem is that i have a whitespace between the window border and the usercontrol. 

    i tried changing the margin property but that didn't do anything. Is there something that i can do in order to remove this whitespace?!


    Thanks in advance,

    Antonis
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 05 Dec 2008 Link to this post

    Hi Antonis,

    Could you please open a new support ticket and send us your project so we can check it? Once we can examine the problem locally, we will do our best to help.


    All the best,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Antonis
    Antonis avatar
    33 posts
    Member since:
    Aug 2008

    Posted 08 Dec 2008 Link to this post

    Ok, just did
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 08 Dec 2008 Link to this post

    Hello Antonis,

    I am copying my answer from the support ticket in case anyone else has the same problem:

    The problem is related to the fact that the placeholder of the content in the control template of RadWindow has set Margin="10,10,10,10". I will log this for fixing and we will remove the margin in the upcoming service pack next week. At the moment you could workaround the problem by setting Margin="-10,-10,-10,-10" in the Simple.xaml:

    <UserControl x:Class="Telerik.Support.Ticket.Simple"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="Auto" Height="Auto"
    Loaded="UserControl_Loaded" Margin="-10,-10,-10,-10">


    Sincerely yours,
    Valeri Hristov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Thierry Fierens
    Thierry Fierens avatar
    6 posts
    Member since:
    Dec 2005

    Posted 13 Feb 2009 Link to this post

    Hi,

    I've downloaded the latest version of your silverlight control a couple of days ago but I see that the problem is still there. Do you have a hotfix/patch available for this problem? I see in your post that a fix for this was going to be posted in december?

    I've tried what you suggested to the original user who posted this question i.e. set the marging to (-10,-10,-10,-10) and while it is better, as the top, left, right white border, it now leaves a white/grey gap at the bottom.

    Do you have any suggestions as we have just posted our job to an outsourcing company and they are due to start developing our project by next week, thus making it rather urgent as we are using quite a few dialog boxes.

    Thanks.

    Thierry
  6. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 16 Feb 2009 Link to this post

    Hello Thierry Fierens,

    We confirmed this issue is still active in our latest release - 2008 Q3 SP build 1217. It will be addressed with upcoming release 2009 Q1 due in March.

    As you reported a strange problem with the bottom gap I suggest that you run the attached example to ensure us about the window's behavior. If it is convenient for you please give us more information about the theme you are using.

    All the best,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Thierry Fierens
    Thierry Fierens avatar
    6 posts
    Member since:
    Dec 2005

    Posted 17 Feb 2009 Link to this post

    Hi Ivan,

    I've attached variou snapshots of your sample and mine. A margin of -10 seems to now resolve the problem but margin of zero is still a problem.

    Oops! I can't see any options to attached the snapshots. I will keep them for a few days if you want me to email them to you. As long as the -10 work-around works, I'm happy with that to be honest.

    Thanks.

    T.
  8. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 18 Feb 2009 Link to this post

    Hi Thierry,

    Yes we know that the zero Margin problem is still there. We will do our best to fix it with the forthcoming Q1 release due in March. I hope that this timeframe is acceptable for you.

    Regards,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top