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

RadProgressBar Resizing clips the bar

3 Answers 163 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Tayyaba
Top achievements
Rank 1
Tayyaba asked on 14 Nov 2019, 04:08 AM

Hi,

I am using the following code for progressbar, but when I'm resizing it it clips the progressbar when I reduce the size, but when I'm increasing the size it stretches fine according to the window size but on reducing the size it does not resize itself according to the parent reduced size but instead clips itself.

Please let me know what I am doing wrong in the code, I have to use these colors in my progressbar.

 

Thanks,

Tayyaba Naz

<telerik:RadProgressBar VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="30" Value="10" Minimum="1" Maximum="10" >
            <telerik:RadProgressBar.Foreground>
                <LinearGradientBrush StartPoint="0, 0.5" EndPoint="1, 0.5">
                    <GradientStop Color="Yellow" Offset="0.3"/>
                    <GradientStop Color="Green" Offset="0.3"/>
                    <GradientStop Color="Green" Offset="0.6"/>
                    <GradientStop Color="Red" Offset="0.6"/>
                    <GradientStop Color="Red" Offset="0.8"/>
                    <GradientStop Color="Blue" Offset="0.8"/>
                    <GradientStop Color="Blue" Offset="0.9"/>
                    <!--<GradientStop Color="Blue" Offset="1"/>-->
                </LinearGradientBrush>
            </telerik:RadProgressBar.Foreground>
        </telerik:RadProgressBar>

3 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 18 Nov 2019, 01:56 PM

Hi Tayyaba,

Thank you very much for reporting this issue.

I can confirm that this is a bug at our end which, luckily, we've managed to already resolve. The fix will be available with our next internal build which will be introduced next Monday (25.11). As a thank you for bringing this to our attention, I've awarded you with some Telerik points.

Please let us know once you manage to test this build out.

Regards,
Dilyan Traykov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
parthiv
Top achievements
Rank 1
Iron
answered on 01 Mar 2021, 11:14 PM

Hello Dilayn,

I am still getting the same issue with the version 2020.1.218.45.. Is there anything else I need to do at my end to fix this behavior ?

 

Thanks,

Parthiv

0
Dilyan Traykov
Telerik team
answered on 04 Mar 2021, 01:34 PM

Hello Parthiv,

I tested the behavior of the control with the setup Tayyaba provided, however, the issue seems to be resolved in the 2020.1.218 version of the suite as can be observed in the short recording I've attached. I'm also providing the sample project I set up for your reference.

Please have a look and let me know if I'm missing something of importance.

Regards,
Dilyan Traykov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ProgressBar
Asked by
Tayyaba
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
parthiv
Top achievements
Rank 1
Iron
Share this question
or