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

Add flex-grow/flex-shrink option to components within ui.inline #2228

Open
nipunchamikara opened this issue Dec 27, 2023 · 0 comments
Open
Labels
feature Feature request ui Related to UI

Comments

@nipunchamikara
Copy link
Member

nipunchamikara commented Dec 27, 2023

Is your feature request related to a problem? Please describe

In v0.22.0, it was possible to allow components to fill remaining space within ui.inline by setting width="100%". However, in v1.0.0, settings width="100%" sets the widget to the same size of the parent (ui.inline).

Describe the solution you'd like

Some option that either gives separate options for flex-grow/flex-shink (e.g.: flex-grow=true), or an option to specify flex options within the element (e.g.: flex="1 1 0" or flex="grow"). Or, a parameter to add custom inline css (e.g.: style="flex: 1 1 0;".

Describe alternatives you've considered

In simple scenarios, like two elements, setting width="50%" would suffice. But this becomes more problematic when some elements can change in size but some do not within a ui.inline component.

@nipunchamikara nipunchamikara added the feature Feature request label Dec 27, 2023
@marek-mihok marek-mihok added the ui Related to UI label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request ui Related to UI
Projects
None yet
Development

No branches or pull requests

2 participants