Update darklaf to fix button positioning
This is from a custom build of darklaf where I removed the 20 offset from shadowSize (see https://github.com/weisJ/darklaf/issues/347)
This commit is contained in:
parent
4603648de3
commit
5a03f130ed
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ import javax.swing.JPanel;
|
|||||||
|
|
||||||
import net.miginfocom.swing.MigLayout;
|
import net.miginfocom.swing.MigLayout;
|
||||||
import net.sf.openrocket.gui.util.Icons;
|
import net.sf.openrocket.gui.util.Icons;
|
||||||
import net.sf.openrocket.gui.widgets.SelectColorButton;
|
import net.sf.openrocket.gui.widgets.IconButton;
|
||||||
import net.sf.openrocket.util.StateChangeListener;
|
import net.sf.openrocket.util.StateChangeListener;
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
@ -41,7 +41,7 @@ public class ScaleSelector {
|
|||||||
this.scrollPane = scroll;
|
this.scrollPane = scroll;
|
||||||
|
|
||||||
// Zoom out button
|
// Zoom out button
|
||||||
zoomOutButton = new SelectColorButton(Icons.ZOOM_OUT);
|
zoomOutButton = new IconButton(Icons.ZOOM_OUT);
|
||||||
zoomOutButton.addActionListener(new ActionListener() {
|
zoomOutButton.addActionListener(new ActionListener() {
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
@ -93,7 +93,7 @@ public class ScaleSelector {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Zoom in button
|
// Zoom in button
|
||||||
zoomInButton = new SelectColorButton(Icons.ZOOM_IN);
|
zoomInButton = new IconButton(Icons.ZOOM_IN);
|
||||||
zoomInButton.addActionListener(new ActionListener() {
|
zoomInButton.addActionListener(new ActionListener() {
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user