Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetroProgressBar orientation does not work #2148

Closed
widgetqueen opened this issue Sep 29, 2015 · 5 comments
Closed

MetroProgressBar orientation does not work #2148

widgetqueen opened this issue Sep 29, 2015 · 5 comments
Labels
Milestone

Comments

@widgetqueen
Copy link

Good afternoon!

The Orientation field on the MetroProgressBar control does not seem to work - I tried the workaround suggested here: #1465 but it does not work for my purposes. Rotating the progress bar creates issues within my grid/viewbox structure that I don't have when simply using a vertically oriented progress bar.

@punker76
Copy link
Member

@widgetqueen what should be happen if IsIndeterminate="True"? should it be come from down to up o from up to down?

@widgetqueen
Copy link
Author

I'm not sure I understand your question. When I set IsIndeterminate="True", the progress bar disappears. Currently, when I set IsIndeterminate to false and the orientation to vertical, the progress bar does not fill in correctly according to its value. The progress bar itself appears to be vertical, but when the fill is applied, it still appears to fill in horizontally.

@petvetbr
Copy link
Contributor

I got the Vertical working, just need to sanitize the PR.

@realies
Copy link

realies commented Jun 10, 2016

This is still not working on the latest alpha. Current solution:

<Style TargetType="Controls:MetroProgressBar">
 <Setter Property="LayoutTransform">
  <Setter.Value>
   <RotateTransform CenterX="0.5" CenterY="0.5" Angle="-90"/>
  </Setter.Value>
 </Setter>
</Style>

punker76 added a commit that referenced this issue Jun 27, 2016
@punker76 punker76 added this to the 1.3.0 milestone Jun 27, 2016
@punker76
Copy link
Member

@widgetqueen @petvetbr fixed with d4aa412

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants