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

New Feature: IsVerticalResizingEnabled attribute #14

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

minesworld
Copy link

<editor:CodeEditorControl IsVerticalResizingEnabled="True"/>

will have the vertical scrollbar hidden and the first line always stays at top. The control will resize itself accordingly to the text height.

This is very usefull in some scenarios, like having the control within another scroll viewer...

The resizing is done on the ImageTarget, so having a different Template should work too (not tested yet).

PS: please change your versioning schema to 0.3.x so it's easier for other to build local nuget packages.

- if True will hide the vertical scrollbar and instead resize the control vertically
- vertical resizing not implement yet
- EditorBaseControl sets MainWrappers Container to NULL on Unload
- "little" problem: now the outer scrollview must scroll, how to implement that? Either there is already a mechanism for that in WinUI3 or just make an Event and an easy  way to find out what from which direction should be visible...
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

Successfully merging this pull request may close these issues.

1 participant