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

png icon cut off in telerik:RadPane

2 Answers 37 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Zvi
Top achievements
Rank 1
Zvi asked on 28 Apr 2018, 04:31 AM

Hello,

I wrote a simple WPF application which uses Telerik's (2016.1.217.45) RadPane.

The pane contains a User control.

This user control contains a LED image. 

When the user control is displayed without pane, the image is OK.

But - When the user control is displayed inside a pane, the image is cut off at its left side.

Can you please help ?

How can I attach a zip with the project ?

Thank you,

Zvika 

2 Answers, 1 is accepted

Sort by
0
Zvi
Top achievements
Rank 1
answered on 28 Apr 2018, 04:42 AM

Hello,

When I used the following code, the image was not cut.

Without Canvas, the image is cut. 

Is this the right solution ?

Thank you,

Zvika 

<Canvas
                    Grid.Row="0"
                    Grid.Column="1">
                <Image 
                 
                Width="15"
                x:Name="imagePsSyncLock"
                Source ="{StaticResource RedLed}" />
            </Canvas>
0
Dinko | Tech Support Engineer
Telerik team
answered on 02 May 2018, 11:26 AM
Hello Zvi,

Our forum system allows adding only image files. If you want to send us a .zip file with the project that demonstrates the issue you can open a new support ticket from your telerik.com account. 

As for the behavior explained in your post. I tried it to reproduce it on my side using only the provided information but to no avail. I am attaching the project to this reply. Can you take a look at this project and let me know if I am missing something in order to reproduce this behavior?

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Docking
Asked by
Zvi
Top achievements
Rank 1
Answers by
Zvi
Top achievements
Rank 1
Dinko | Tech Support Engineer
Telerik team
Share this question
or