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

Layout -> RelativePanel [WinUI 3 v2.5.0] #1694

Open
PRZEMPM opened this issue Dec 12, 2024 · 6 comments
Open

Layout -> RelativePanel [WinUI 3 v2.5.0] #1694

PRZEMPM opened this issue Dec 12, 2024 · 6 comments
Labels
help wanted Extra attention is needed sample enhancement Requests for new samples or changes to an existing page

Comments

@PRZEMPM
Copy link

PRZEMPM commented Dec 12, 2024

Issue type

sample request

Which version of the app?

WinUI 3 Gallery

Description

I suggest explaining the RelativePanel control better, to distinguish it from StackPanel or Grid.

From Microsoft's website: https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.relativepanel?view=windows-app-sdk-1.6
Chapter: Conflicting relationships
It describes interesting events that I don't understand very well.
Image

Screenshots

No response

Windows version

Windows 10 22H2 (19045)

Additional context

No response

@karkarl karkarl added help wanted Extra attention is needed sample enhancement Requests for new samples or changes to an existing page and removed needs-triage labels Dec 12, 2024
@niels9001
Copy link
Contributor

Looks like the relative panel does not allow the expander to stretch properly, I'll have a look at that.

For adding better RelativePanel examples; @PRZEMPM is that something you'd like to work on? Or certain samples you had in mind?

@PRZEMPM
Copy link
Author

PRZEMPM commented Dec 14, 2024

@niels9001 As for the link I provided, I meant the implementation examples as an example for RelativePanel. You can use others, but in my opinion there is too much content explaining the meaning of controls, instead of presenting them with examples to engage the user in some change, to see how the operation causes changes in a specific control.

@niels9001
Copy link
Contributor

@niels9001 As for the link I provided, I meant the implementation examples as an example for RelativePanel. You can use others, but in my opinion there is too much content explaining the meaning of controls, instead of presenting them with examples to engage the user in some change, to see how the operation causes changes in a specific control.

Agreed, it could use some work, and ideally, doc samples are (somewhat) in sync with the Gallery samples.

Do you want to take a stab at it?

@PRZEMPM
Copy link
Author

PRZEMPM commented Dec 15, 2024

What do you mean?: Do you want to take a stab at it?

@niels9001
Copy link
Contributor

What do you mean?: Do you want to take a stab at it?

Is this something you would like to work on and contribute to the WinUI Gallery?

@PRZEMPM
Copy link
Author

PRZEMPM commented Dec 15, 2024

Is this something you would like to work on and contribute to the WinUI Gallery?

Thank you for the offer. In my current job I have projects related to WinUI 3. As for introducing improvements to WinUI 3 Gallery, it's a matter of agreement with the creators of this application ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed sample enhancement Requests for new samples or changes to an existing page
Projects
None yet
Development

No branches or pull requests

3 participants