-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fixes #388 SizerBase Orientation Property #419
Fixes #388 SizerBase Orientation Property #419
Conversation
9261a43
to
1035ff9
Compare
Looks like the extensions broke in the tests with the flip or something... Ah, it's the underlying update to the Thinking I'll just add |
1035ff9
to
d2ecf62
Compare
Removes Mouse Extension from XAML Template and does in code-behind as to remove the need to set the Cursor property directly via binding By setting the Cursor DependencyProperty we were losing our detection mechanism, now if it's set it's an explicit override, otherwise we use our logic based on Orientation property Also, switches to new CommunityToolkit.*.Extensions Dependency vs. old copies of Tree helpers Fixes some doc typos Bumps version, tested on UWP, WASDK, and Uno.UI/WASM
d2ecf62
to
1e36779
Compare
Hmm, WinUI 3 failed to build do to namespace conflict... Wonder if from global using I added in tooling? Or could be the other components references to the older package, trying to change that, though Shimmer uses the animation package which has an indirect dependency... so not sure if that's still going to be trouble. This is a bit complex here with the old vs. new incompatibility with the namespace change... hmm... Would make sense that the WinUI 2 build works here as it was a completely different root to the namespace anyway. |
Think going to have to bring other helpers over, as there's the CompositionTargetHelper and WeakEventListener used in here too... hmmm |
Thinking about it more, we probably want to wait in using the new unified packages until more of them are setup. Otherwise, they'll start forcing folks to also use them over the 7.1.x packages when trying to use Labs components, don't think we're quite ready for that... Will merge Niels' new style PR in first after I test on Win 10 - michael-hawker#2 - and then untease/revert back to the 7.x extension usage. |
* Adding modern style * Address feedback * Fixing wrong state names
Now that CommunityToolkit/Windows#26 is merged in the new repo, we can just close this, it has the same fix as here. Should probably remove SizerBase from this repo now. |
Fixes #388
Just need to see if anything breaks in the CI due to the update to the WASDK... Otherwise, should be good to go and will help with #418's next step. 🎉
Glad to finally get this stuff resolved, this has been in the back of my mind for a while now. The new SizerBase is now above-and-beyond what we currently have in WCT. Just needs some future modern magic to discuss with @niels9001 as the final frontier (as a separate PR in the future).