void (int x, int y, @NotNull Component component, @NotNull Dimension prefSize, int width, int height) { if (component instanceof ActionToolbar) { component.setBounds(x, getInsets().top - JBUI.scale(1), width, height); } else { component.setBounds(x, y - component.getBaseline(prefSize.width, prefSize.height), width, height); } }