kirill-grouchnikov / radiance

Building modern, elegant and fast Swing applications
BSD 3-Clause "New" or "Revised" License
807 stars 89 forks source link

[Component] Crash while computing the resize sequence for flow ribbon band with 2 components #471

Closed MichaelWDenney closed 5 months ago

MichaelWDenney commented 5 months ago

Version of Radiance (latest release is 7.5-SNAPSHOT):

7.5-SNAPSHOT

Sub-project (Common, Animation, Theming, Component, ...):

Ribbons/Demo

Version of Java (current minimum is 9):

21.0.1

Version of OS:

Windows 11

The issue you're experiencing (expected vs actual, screenshot, stack trace etc):

In org.pushingpixels.radiance.demo.component.ribbon.BasicCheckRibbon.getFontBand(), I commented out the addFlowComponent of the font combo box, the font size combo box, and the styleStripProjection.

Expected result: A Font band containing only the indentStripProjection and alignStripProjection.

Actual result: image

(Apologies if I have simply made an invalid change. But the change seemed simple and straightforward.)