Content behind the Window growing in size

3 posts, 0 answers
  1. Jason
    Jason avatar
    30 posts
    Member since:
    May 2009

    Posted 01 Dec 2009 Link to this post


    I have a problem that is kinda hard to explain.
    I am creating a RadWindow from code-behind (more specifically a ViewModel) then calling ShowDialog.  The window works great and the modal background is working properly, but all of my content that the modal background is covering seems to grow in scale.  Everything gets slightly bigger from button sizes to font sizes and such.  When i close the RadWindow the content maintains this growth in size.

    I have tested using a SL3 ChildWindow.  This object also seems to cause the background content to grow, but when i close it the content goes back to its initial size.  Still a problem but at least it goes back.

    Is there any reason anyone can think of as to why opening a RadWindow would cause the content behind it to grow?

    I just tried adding an instance of a RadWindow to the XAML of one of the UserControls and just by being there in the VisualTree without even opening it, it causes the same growth result.
  2. Jason
    Jason avatar
    30 posts
    Member since:
    May 2009

    Posted 02 Dec 2009 Link to this post

    I found it!

    In IE8 If you have the browser zoom less than 100% Like 75% so that all text is smaller.  When you introduce a RadWindow into the VisualTree it forces the content of the Browser to run at zoom 100% but doesnt change the actual browser zoom.  This is why when I open a RadWindow it causes the content to grow because the content is now at 100% zoom.  But like i said the browsers zoom setting in the bottom right still says 75%.  When i changed my browser zoom back to 100% the growth effect does not occur.
  3. DevCraft R3 2016 release webinar banner
  4. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 02 Dec 2009 Link to this post

    Hi Jason,

    This is a bug in Silverlight - if you try to use the Resized event of the Application.Current.Host.Content object, the IE zoom is changing. Unfortunately we don't have control over this.

    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top