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

Any way to achieve flex-grow: 1? #4

Open
Athari opened this issue Nov 7, 2023 · 1 comment
Open

Any way to achieve flex-grow: 1? #4

Athari opened this issue Nov 7, 2023 · 1 comment

Comments

@Athari
Copy link

Athari commented Nov 7, 2023

In CSS, I can fill a line by stretching some of items:

<div style="display: flex; flex-flow: row; gap: 4px">
  <div style="flex: 2">1</div>
  <div style="flex: 1">2</div>
  <div style="flex: 0">3</div>
</div>

Is there any way to achieve this with FlexPanel?

@jp2masa
Copy link
Owner

jp2masa commented Nov 9, 2023

The FlexPanel was moved to Avalonia.Labs.

There is no flex-grow, but it shouldn't be hard to implement.

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

No branches or pull requests

2 participants