private void scaleLayout( JXHeader header ) {
		if( UIScale.getUserScaleFactor() == 1f )
			return;

		LayoutManager layout = header.getLayout();
		if( !(layout instanceof GridBagLayout) )
			return;

		GridBagLayout gbl = (GridBagLayout) layout;
		for( Component c : header.getComponents() ) {
			GridBagConstraints cons = gbl.getConstraints( c );
			cons.insets = UIScale.scale( cons.insets );
			gbl.setConstraints( c, cons );
		}
	}
Provides the Flat LaF UI delegate for {@link org.jdesktop.swingx.JXHeader}.

@author Karl Tauber
flatlaf-swingx/src/main/java/com/formdev/flatlaf/swingx/ui/FlatHeaderUI.java