-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Enhancement] ProgressBar: Height #1694
Comments
Why would we not use the |
@PureWeen afterthought: reusing ScaleY would mess up with the measurements (controls are measured pre-transforms) |
@edsnider |
@PureWeen awesome- yea, I think the Height property is more intuitive for declaration even if it ends up being used to set a ScaleY property in the renderer. |
Is anyone working on this one yet? If not I can take it. I have done this in custom renderers for iOS and Android so have a good starting point. |
No. @StephaneDelcroix just removed himself and it'd be awesome to get this one completed!! Especially now that we can add some colors to the progress bar it'd be great to make it bigger. |
Ok great! |
When changing the Best way I have been able to fix this is by using
Any thoughts? |
Do you by chance have a fork you're working against or other that I can pull down, see the effect, and play around with a bit? |
@PureWeen yes, I'll get it pushed up so you can take a look. |
@edsnider are you still working on this? Did you get any code pushed by chance that I can look at? |
@PureWeen yes - sorry the delay. Will get back on it :-) |
@edsnider Any progress? Thanks! |
@edsnider Monthly ping! How is it going? Thanks! |
I can't wait until this feature is in! Any updates? |
Any updates? Looking forward to use it, thanks! |
Any progress here? |
This is probably going to be closed once we push the material visual changes. The material ios ProgressBar supports height out of the box so that can just be used. |
Material for Visual is in 3.6.0 and you can set height on ProgressBar there. Closing this issue in favor of that solution. Will entertain objections. |
good future! |
Rationale
Currently there is no way to increase the height of the progress bar without using a custom effect/renderer
Implementation
For backwards compatibility add a property to the ProgressBar to enable height scaling
iOS
A number of ways to increase the height are mentioned here
https://stackoverflow.com/questions/3437564/how-to-increase-height-of-uiprogressview
Most seem partial to
Android
UWP
https://github.com/bartlannoeye-com/2016-10-ProgressBarTemplateSettings
Expected Result
Android
If ProgressBarLayoutOption is set to FitToConstraints then the progressbar should size itself vertically like any other control would with the same settings
iOS
See Android
UWP
See Android
Implications for CSS
Backward Compatibility
Third party renderers may need to be updated to ensure that this functionality is supported through the new official mechanism. Further we will need to be careful to code the changes to the renderers in a careful manner to ensure that if someone is already using an effect support this feature that the effect is as best as possible not broken by our changes. The current default height used should be maintained. The height of the progressbar should only change when this behavior is triggered
Difficulty : Medium
The text was updated successfully, but these errors were encountered: