Compass and VisualCue are clipped after scaling

4 posts, 0 answers
  1. Dzsek
    Dzsek avatar
    1 posts
    Member since:
    Sep 2014

    Posted 16 Sep 2014 Link to this post

    Hello,
    After using ScaleTransform to scale up the UI of our application the Compass and VisualCue elements are clipped to, what seems to be, the unscaled size of the RadDocking control.

    I am scaling the application by adding
    <Grid.LayoutTransform>
                <ScaleTransform ScaleX="1.5" ScaleY="1.5" />
    </Grid.LayoutTransform>

    to the root element of the main window and setting the compass and visualcue scaling with
    <telerikDocking:RadDocking.CompassStyle>
        <Style TargetType="telerik:Compass">
            <Setter Property="LayoutTransform">
                <Setter.Value>
                    <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                </Setter.Value>
            </Setter>
        </Style>
    </telerikDocking:RadDocking.CompassStyle>
    <telerikDocking:RadDocking.RootCompassStyle>
        <Style TargetType="telerik:RootCompass">
            <Setter Property="LayoutTransform">
                <Setter.Value>
                    <ScaleTransform ScaleX="1.5" ScaleY="1.5" />
                </Setter.Value>
            </Setter>
        </Style>
    </telerikDocking:RadDocking.RootCompassStyle>
    <telerikDocking:RadDocking.VisualCueStyle>
        <Style TargetType="telerik:VisualCue">
            <Setter Property="LayoutTransform">
                <Setter.Value>
                    <ScaleTransform ScaleX="1.5" ScaleY="1.5" />
                </Setter.Value>
            </Setter>
        </Style>
    </telerikDocking:RadDocking.VisualCueStyle>

    You can see the result in the attached image.
    Are there other elements of the RadDocking control which I didn't set the scaling for, or am I approaching the whole scaling the wrong way ?
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 18 Sep 2014 Link to this post

    Hello Dzsek,

    Thank you for contacting us.

    In the current version of RadDocking intentionally scaling the control is not a supported scenario. The control is designed to scale it's parts relative to the OS's resolution. As the RadDocking is a complex control that involves many visual elements created at run time using the LayoutTransform's ScaleTransform is not an applicable approach.

    We always try to improve our control and will discuss the possibility of adding such scaling feature in one of our future releases of Telerik UI for WPF.

    Regards,
    Vladi
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Anatoliy
    Anatoliy avatar
    37 posts
    Member since:
    Oct 2012

    Posted 13 Jan 2015 in reply to Vladi Link to this post

    Hello Vladi,
    I'm glad for all telerik controls and their improves from version to version.
    Are there any futher forecasts with scalling this control?

    The main disaster is displacement of rootcompass (which replacing) and visualcue (which stay in the middle).
    Maybe there any solution to avoid displacement, is not it?
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 15 Jan 2015 Link to this post

    Hi Anatoliy,

    While there are no immediate plans for implementing support for using ScaleTransform in order to scale the RadDocking control and its compasses/drop cues we always do our best to improve our controls which is why we logged the discussed feature request into our feedback portal. You can vote for it and track its status here.

    If such feature receives enough user demand we will do our best to provide it as soon as possible.

    Regards,
    Vladi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top