We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
we are using the following dependency that offers buttons with special behaviour:
<dependency> <groupId>com.github.insubstantial</groupId> <artifactId>flamingo</artifactId> <version>7.3</version> </dependency>
When using this with FlatLaf in a maximized window, the popupmenu itself shows correctly, but the drop shadow is displayed in the top left corner.
It looks like this:
Is there a workaround to this issue?
Here's minimum code to reproduce this:
public static void main( final String[] args ) { FlatLightLaf.setup(); //Setup most basic command button with popup final JCommandButton button = new JCommandButton( "JCommandButton" ); button.setPopupCallback( ( final var __ ) -> { final JCommandPopupMenu popupMenu = new JCommandPopupMenu(); popupMenu.addMenuButton( new JCommandMenuButton( "Menu Item", null ) ); return popupMenu; } ); button.setCommandButtonKind( IspCommandButton.CommandButtonKind.POPUP_ONLY ); //Position button final JPanel panel = new JPanel( new BorderLayout() ); panel.add( button, BorderLayout.NORTH ); panel.setBorder( BorderFactory.createEmptyBorder( 50, 50, 50, 50 ) ); final JFrame frame = new JFrame(); frame.setJMenuBar( new JMenuBar() ); frame.add( panel ); frame.setExtendedState( Frame.MAXIMIZED_BOTH ); frame.setVisible( true ); }
The text was updated successfully, but these errors were encountered:
Popup: fixed incorrectly placed drop shadow for medium-weight popups …
ca7f504
…in maximized windows (issue #358)
Thanks, fixed in main branch.
Sorry, something went wrong.
Thanks :)
No branches or pull requests
Hey,
we are using the following dependency that offers buttons with special behaviour:
When using this with FlatLaf in a maximized window, the popupmenu itself shows correctly, but the drop shadow is displayed in the top left corner.
It looks like this:
Is there a workaround to this issue?
Here's minimum code to reproduce this:
The text was updated successfully, but these errors were encountered: