-
Notifications
You must be signed in to change notification settings - Fork 45
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 SplitLayout #570
Merged
Merged
New SplitLayout #570
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
5 tasks
f4714ff
to
9c03b25
Compare
rock3r
reviewed
Sep 4, 2024
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
79da995
to
a55e52b
Compare
rock3r
reviewed
Sep 4, 2024
...dalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/view/component/SplitLayouts.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/org/jetbrains/jewel/ui/component/SplitLayout.kt
Outdated
Show resolved
Hide resolved
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen
added a commit
that referenced
this pull request
Sep 5, 2024
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
reference: #570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
c306ae0
to
5a6ab7d
Compare
rock3r
approved these changes
Sep 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and validated locally, great job!
intellij-monorepo-bot
pushed a commit
to JetBrains/intellij-community
that referenced
this pull request
Nov 29, 2024
* replace SplitLayout Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add splitlayout icon Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add SplitLayout icon to the collection Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * create the SplitLayouts showcase in the Standalone Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * make it uglier but now the linter is happy Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * hoist the SplitLayout divider state Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * remove nested layout from SplitLayouts showcase Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add responsive minimum width to SplitLayout Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * make the linter happy Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * iterate on SplitLayout icon Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * fix NaN operation in calculateAdjustedSizes() Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * iterate on SplitLayout draggable Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * replace a whens with ifs Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * iterate on draggable divider Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * tune the pointer icon while dragging Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * make the linter happy Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add min width to SplitLayout in IDE sample Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * fix wrong params in SplitLayouts reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * name params consistently in SplitLayout reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add missing KDOC reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add missing KDOC to public API reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * remove redundant value reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * inlined variable reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * extract draggableState variable reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * rename maxPositionPx reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * simplify pointer icon management reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * rename fillModifier reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * remove redundant .then() reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * add -Px suffix to a couple of values reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * extract a couple of methods reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * moved values into doLayout() reference: JetBrains/jewel#570 (comment) Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * iterate on windows resizing Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * iterate once more on divider positioning while dragging Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> * Fix formatting --------- Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> Co-authored-by: Sebastiano Poggi <sebp@google.com> GitOrigin-RevId: 16948878239582d44c95e96fc0c719258495b44f
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces the new
SplitLayout
. The implementation takes inspiration from the existing one and from the AccompanistTwoPane
one.Main points
1.dp
wide, with an invisible wider area around it to facilitate click & draggingViewModel