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 "same line" mode or some type of line break logic #1066

Open
santilland opened this issue Jun 26, 2024 · 0 comments
Open

Add "same line" mode or some type of line break logic #1066

santilland opened this issue Jun 26, 2024 · 0 comments
Labels
enhancement New feature or request jsonform

Comments

@santilland
Copy link
Member

santilland commented Jun 26, 2024

Currently (as far as i can tell) label and widget are in separate lines without taking into account size of either one.
In following example:
image
the label and drop-down widget (entries) are very short and could fit in one line, by expecting a line separation a lot of "empty space" is created.

**edit:
Maybe we can use a layout?
https://jsonforms.io/docs/uischema/layouts#horizontallayout
Can we pass ui-schemas?
I think i would prefer a different modi, although loading of a ui-schema would be a potential option that allows us to be specific.
In any case, even using ui-schema it still uses two different lines for label and widget

@santilland santilland added enhancement New feature or request jsonform labels Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jsonform
Projects
None yet
Development

No branches or pull requests

1 participant