-
Notifications
You must be signed in to change notification settings - Fork 27
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 section to panel view #1868
add section to panel view #1868
Conversation
Can you ensure this is this purely a code change, and doesn't change any looks or functionality? |
0b6c116
to
01b89ff
Compare
Yes, double checked. |
@justvanrossum I had a look at the branch and I would say mostly it looks good. There is one change, which is consistent now with the other sidebars, but differs in the user experience in compare to our current main branch: the glyphs-search-field scrolls 'away' and I am not sure if we want that. Please see the recording: Glyph-Search-is-now-different.mp4It would be an exception. I am not sure, how we want to deal with it. |
I am very sure we don't want that. So this is an unacceptable change. I am not sure of the motivation of this PR. What exactly does this improve and why do we need it? |
01b89ff
to
02ba347
Compare
Thanks @ollimeier for checking. Search scroll is adjusted to prior style. @justvanrossum Improvements of this MR:
|
I guess the changes of this MR are too extensive. See this instead: #1877 |
Not necessarily: I just didn't have time to properly test this. But if you feel your new PR is to be preferred anyway, I'll gladly review that one instead. |
Yes, thanks, I feel better with a this small change for now. Even though I guess it would be good to make the panel code more consistent. Maybe in a follow up. |
This adds the possibility to wrap panel contents in multiple auto-scrollable sections. So overflow logic is separated from contents.
Changes
getContentElement
function for wrapper consistencygetPanelSection
factory to handle overflow of contents (this removed the extraneous styles fromui-form
)static styles
in panel class extensions