Skip to content

[JEWEL-1184] Add DefaultSplitButton Without Jewel's Dropdown#3408

Open
DanielSouzaBertoldi wants to merge 1 commit intoJetBrains:masterfrom
DanielSouzaBertoldi:dsb/JEWEL-1184
Open

[JEWEL-1184] Add DefaultSplitButton Without Jewel's Dropdown#3408
DanielSouzaBertoldi wants to merge 1 commit intoJetBrains:masterfrom
DanielSouzaBertoldi:dsb/JEWEL-1184

Conversation

@DanielSouzaBertoldi
Copy link
Collaborator

Context

Users want a way to use DefaultSplitButton without relying on Jewel's Popup/Dropdown. So, we created a overload that doesn't show a popup when the secondary action is clicked. This way, users can show their own popup/dropdown menu.

Changes

  • Added a new DefaultSplitButton without parameters such as menuContent, popupModifier, maxPopupHeight, maxPopupWidth and menuStyle
  • Added examples in both Bridge showcase and Compose showcase so users can have an idea on how to use it

Evidences

Compose Bridge
Screen.Recording.2026-02-05.at.10.11.44.mov
Screen.Recording.2026-02-05.at.10.12.38.mov

Comment on lines 170 to 175
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk man Swing is hard. Any other alternative to properly position a Swing popup under a Composable is too complex imo. This example is not ideal for production purposes but it gets the point across

@DanielSouzaBertoldi DanielSouzaBertoldi force-pushed the dsb/JEWEL-1184 branch 3 times, most recently from 605ff45 to 827595d Compare February 6, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments