xamarin / Xamarin.PropertyEditing

MIT License
24 stars 16 forks source link

[Mac] Autoresizing implementation #630

Closed CartBlanche closed 4 years ago

CartBlanche commented 5 years ago
Screen Shot 2019-10-10 at 20 40 54
CartBlanche commented 5 years ago

@viniciusjarina & @chkn This is the port of the Autoresizing control into proppy. Could you please look over it and the video I posted on Slack in #proppy (https://xamarinhq.slack.com/archives/C5GBTFXL0/p1568909239055500). It Supports theming and keyboard navigation (Left and Right arrows to cycle through the flags). With theming we need to decide what the actual colour scheme will be between dark and light, but that should be easily changed once we finalise what that will actually be.

ermau commented 5 years ago

@CartBlanche Theming is here https://github.com/xamarin/Xamarin.PropertyEditing/issues/616#issuecomment-528410763

ermau commented 5 years ago

You'll want to rebase this and use the rectangle sizing methodology now present in the view model as it is more correct.

CartBlanche commented 5 years ago

@ermau just to be clear, you are referring to VM.GetPreviewElementRectangle?

ermau commented 5 years ago

@CartBlanche Correct.

CartBlanche commented 5 years ago

I made it a vertical alignment as it really is better aesthetically than the horizontal one that doesn't support resizing. We can always revisit the alignment, should Forms be needed.