Height, can ProgressBar be smaller?

3 posts, 1 answers
  1. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 10 Mar 2009 Link to this post

    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. Answer
    Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 10 Mar 2009 Link to this post

    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.
  3. DevCraft banner
  4. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 10 Mar 2009 Link to this post

    Thanks Tihomir, it worked fine.

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