ComboBox: fixed popup border painting on HiDPI screens (e.g. at 150% scaling)

This commit is contained in:
Karl Tauber
2021-09-14 12:46:51 +02:00
parent fa194ec258
commit 84d4510d70
2 changed files with 4 additions and 0 deletions

View File

@@ -695,6 +695,9 @@ public class FlatComboBoxUI
protected void configurePopup() {
super.configurePopup();
// make opaque to avoid that background shines thru border (e.g. at 150% scaling)
setOpaque( true );
Border border = UIManager.getBorder( "PopupMenu.border" );
if( border != null )
setBorder( border );