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

Display horizontal scrollbar in text editor #16

Open
JetStarBlues opened this issue Dec 5, 2019 · 0 comments
Open

Display horizontal scrollbar in text editor #16

JetStarBlues opened this issue Dec 5, 2019 · 0 comments

Comments

@JetStarBlues
Copy link

How can I get a horizontal scrollbar to appear for the text editor*?
It is a bit limiting to have to find the longest line, in order to be able to scroll across the full length...

horizontal_scroll


*I am not sure if text editor is the correct name... Looking at the 'overview.c' code, the "text editor" seems to be generated by nk_edit_string in the following lines:

nk_layout_row_static( ctx, 180, 278, 1 );

nk_edit_string(

	ctx,
	NK_EDIT_BOX,
	box_buffer,
	&box_len,
	512,
	nk_filter_default
);
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

1 participant