Skip to content

Commit

Permalink
Merge pull request #603 from neph1/Issue#601
Browse files Browse the repository at this point in the history
Issue#601
  • Loading branch information
neph1 authored Apr 29, 2024
2 parents f96aab3 + 46cbf89 commit fff86a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
<Property name="pressedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="Icons.lightOn" type="code"/>
</Property>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="Icons.lightOn" type="code"/>
</Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
<Events>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2023 jMonkeyEngine
* Copyright (c) 2009-2024 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -50,6 +50,7 @@ public class MaterialPreviewWidget extends javax.swing.JPanel {

private boolean init=false;
private MaterialPreviewRenderer matRenderer;

/** Creates new form MaterialPreviewWidget */
public MaterialPreviewWidget() {
initComponents();
Expand Down Expand Up @@ -204,6 +205,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
togglePbrEnvButton.setName("togglePbrEnvButton"); // NOI18N
togglePbrEnvButton.setPreferredSize(new java.awt.Dimension(40, 40));
togglePbrEnvButton.setPressedIcon(Icons.lightOn);
togglePbrEnvButton.setSelectedIcon(Icons.lightOn);
togglePbrEnvButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
togglePbrEnvButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Expand Down

0 comments on commit fff86a4

Please sign in to comment.