-
Notifications
You must be signed in to change notification settings - Fork 699
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
Fixes #3273 (Again). Updates FindDeepestView
etc... to finish Adornment
#3295
Conversation
…rks for Toplevel)
Ok, I think I'm done with this... I did some refactoring of |
@BDisp - You'll have some work to get to make the new |
@BDisp My recommendation re: #3254 is:
THEN, start moving This will ensure you are utilizing all the As you find issues, submit them as PRs to this branch. |
I agree with you said above, but I prefer you implement all that you've in the "todos" by yourself. There are another features I already added like |
I'm now on holiday. Unlikely I'll be able to spend any time on this for the next 7 days. |
No problem. There is no rush in this. Good holidays. |
Can you please review this in the meantime? |
…into v2_3273_FOUND_finddeepestview
Enjoy the break! |
Fixes
FindDeepestView
to supportAdornment
#3273Margin
,Border
, andPadding
#2563EnsureVisibleBounds
is complex & confusing #2407ViewDiagnosticFlags.MouseCursor
#3306Line
and removeLineView
#3014NOTE: This PR was previously here. But that branch got wiped out accidentally:
FindDeepestView
to supportAdornment
#3278Is dependent on
MouseEvent/OnMouseEvent
are stoopid #3281See also:
Proposed Changes/Todos
FindDeepestView
to returnMargin
,Padding
, orBorder
ifx
/y
match.MouseEvent
handling code toAdornment
,Margin
,Border
, andPadding
as appropriate (e.g.Adornment.MouseClick += Parent.SetFocus()
).FindDeepestView
unit tests to prove this change works.Toplevel
intoAdornment
- Dragging margin or border drags the view.Adornment.SubViews
BeginInit
, callbase.BeginInit()
and check thatParent is {}
.Line
can work - Done and commented outNot for this PR, but needed
Adornment.SubView
is not working.Adornment
gets focus,Adornment.Parent
should get focus.Pull Request checklist:
CTRL-K-D
to automatically reformat your files before committing.dotnet test
before commit///
style comments)