Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ProgressBar > Height, can ProgressBar be smaller?

Answered Height, can ProgressBar be smaller?

Feed from this thread
  • Luis avatar

    Posted on Mar 10, 2009 (permalink)

    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



    Reply

  • Answer Tihomir Petkov Tihomir Petkov admin's avatar

    Posted on Mar 10, 2009 (permalink)

    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.

    Reply

  • Luis avatar

    Posted on Mar 10, 2009 (permalink)

    Thanks Tihomir, it worked fine.

    After you telling me the answer it seems pretty obvious :) , so, sorry

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ProgressBar > Height, can ProgressBar be smaller?
Related resources for "Height, can ProgressBar be smaller?"

Silverlight ProgressBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]