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

Height, can ProgressBar be smaller?

2 Answers 213 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Pinho
Top achievements
Rank 1
Pinho asked on 10 Mar 2009, 11:14 AM
Hi,

 I defined the following progress bar:

<telerik:RadProgressBar MaxHeight="22" Value="12"  x:Name="prgBar" Height="10" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Center" Width="125" Grid.Column="2" />

 As you can see, it's placed inside a column on a row that belongs to a Grid.

 All my components on that row are set with a height of 22, but for some reason, the height property doesn't seem to affect this control. Can anyone help?

Thanks,

L. Pinho



2 Answers, 1 is accepted

Sort by
0
Accepted
Tihomir Petkov
Telerik team
answered on 10 Mar 2009, 12:56 PM
Hello Luis,

The MinHeight in the default style of RadProgressBar is set to 15, so if you want to make the control smaller you'll have to set its MinHeight to, say, 0. Let me know if this helps.

Regards,
Tihomir Petkov
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
Pinho
Top achievements
Rank 1
answered on 10 Mar 2009, 01:03 PM
Thanks Tihomir, it worked fine.

After you telling me the answer it seems pretty obvious :) , so, sorry
Tags
ProgressBar
Asked by
Pinho
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Pinho
Top achievements
Rank 1
Share this question
or