This is a migrated thread and some comments may be shown as answers.

WhiteSpace on Window

7 Answers 88 Views
Window
This is a migrated thread and some comments may be shown as answers.
Antonis
Top achievements
Rank 2
Antonis asked on 05 Dec 2008, 01:44 PM
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

7 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 05 Dec 2008, 04:18 PM
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.
0
Antonis
Top achievements
Rank 2
answered on 08 Dec 2008, 08:48 AM
Ok, just did
0
Valeri Hristov
Telerik team
answered on 08 Dec 2008, 10:09 AM
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.
0
Thierry Fierens
Top achievements
Rank 1
answered on 14 Feb 2009, 02:06 AM
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
0
Ivan
Telerik team
answered on 16 Feb 2009, 04:58 PM
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.
0
Thierry Fierens
Top achievements
Rank 1
answered on 18 Feb 2009, 12:55 AM
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.
0
Boyan
Telerik team
answered on 18 Feb 2009, 05:19 PM
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.
Tags
Window
Asked by
Antonis
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Antonis
Top achievements
Rank 2
Valeri Hristov
Telerik team
Thierry Fierens
Top achievements
Rank 1
Ivan
Telerik team
Boyan
Telerik team
Share this question
or