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

No vertical spacing between edittext and widget #539

Open
wave9d opened this issue Jan 13, 2023 · 3 comments
Open

No vertical spacing between edittext and widget #539

wave9d opened this issue Jan 13, 2023 · 3 comments

Comments

@wave9d
Copy link

wave9d commented Jan 13, 2023

So I have an edit text component and a line drawn with a widget.
I want the line to go right under the edit text component without ANY spacing.
Is this achivable with what nuklear offers at the moment ?

This is what I managed to do so far, but I want no spacing between the two.
image

@dumblob
Copy link
Member

dumblob commented Jan 14, 2023

Without looking at the source/API, if the horiz. bar/line does not allow the padding/spacing to be changed (either by ctx.blabla or directly in the function interface), then you can easily copy & paste the function into your code, rename it and change the padding to your own values. Nuklear is really hackable.

A better option would be to add the padding setting to ctx.blabla (if it is not yet supported) and make a PR to this repo 😉.

@wave9d wave9d changed the title No horizonal spacing between edittext and widget No vertical spacing between edittext and widget Jan 14, 2023
@wave9d
Copy link
Author

wave9d commented Jan 14, 2023

Sorry, I meant vertical spacing.

@dumblob
Copy link
Member

dumblob commented Jan 14, 2023

Yes, I understood (based on your picture). My reply above thus holds 😉.

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