Hi,
i have issues with hidden labels in material editor.
See:
http://fishheadsoftware.de/jme3/Screenshot-MaterialEditor-Issue.png
I just change the size of the hidden labels from 0 to 16px and now i see them.
Here are my patches.
ColorPanel.form
[patch]
— Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -48,7 +48,7 @@
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="ColorPanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
-
<Dimension value="[100, 0]"/><br />
-
<Dimension value="[100, 16]"/><br />
</Property>
</Properties>
</Component>
@@ -68,12 +68,12 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
-
<EmptySpace min="0" pref="8" max="32767" attributes="0"/><br />
-
<EmptySpace min="0" pref="10" max="32767" attributes="0"/><br />
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
-
<EmptySpace min="0" pref="28" max="32767" attributes="0"/><br />
-
<EmptySpace min="0" pref="0" max="32767" attributes="0"/><br />
</Group>
</DimensionLayout>
</Layout>
[/patch]
ColorPanel.java
[patch]
— Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -46,7 +46,7 @@
jToolBar1.setRollover(true);
jLabel1.setText(org.openide.util.NbBundle.getMessage(ColorPanel.class, "ColorPanel.jLabel1.text")); // NOI18N
-
jLabel1.setPreferredSize(new java.awt.Dimension(100, 0));<br />
-
jLabel1.setPreferredSize(new java.awt.Dimension(100, 16));<br />
jToolBar1.add(jLabel1);
jPanel1.setBackground(new java.awt.Color(204, 204, 204));
@@ -57,11 +57,11 @@
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGap(0, 8, Short.MAX_VALUE)<br />
-
.addGap(0, 10, Short.MAX_VALUE)<br />
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGap(0, 28, Short.MAX_VALUE)<br />
-
.addGap(0, 0, Short.MAX_VALUE)<br />
);
jToolBar1.add(jPanel1);
[/patch]
TextPanel.form
[patch]
— Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -48,7 +48,7 @@
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="TextPanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
-
<Dimension value="[100, 0]"/><br />
-
<Dimension value="[100, 16]"/><br />
</Property>
</Properties>
</Component>
@@ -65,12 +65,12 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
-
<EmptySpace min="0" pref="4" max="32767" attributes="0"/><br />
-
<EmptySpace min="0" pref="10" max="32767" attributes="0"/><br />
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
-
<EmptySpace min="0" pref="28" max="32767" attributes="0"/><br />
-
<EmptySpace min="0" pref="0" max="32767" attributes="0"/><br />
</Group>
</DimensionLayout>
</Layout>
[/patch]
TextPanel.java
[patch]
— Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -46,7 +46,7 @@
jToolBar1.setRollover(true);
jLabel1.setText(org.openide.util.NbBundle.getMessage(TextPanel.class, "TextPanel.jLabel1.text")); // NOI18N
-
jLabel1.setPreferredSize(new java.awt.Dimension(100, 0));<br />
-
jLabel1.setPreferredSize(new java.awt.Dimension(100, 16));<br />
jToolBar1.add(jLabel1);
jPanel1.setBackground(new java.awt.Color(204, 204, 204));
@@ -56,11 +56,11 @@
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGap(0, 4, Short.MAX_VALUE)<br />
-
.addGap(0, 10, Short.MAX_VALUE)<br />
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGap(0, 28, Short.MAX_VALUE)<br />
-
.addGap(0, 0, Short.MAX_VALUE)<br />
);
jToolBar1.add(jPanel1);
[/patch]
TexturePanel.form
[patch]
— Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -54,7 +54,7 @@
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="TexturePanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
-
<Dimension value="[100, 0]"/><br />
-
<Dimension value="[100, 16]"/><br />
</Property>
</Properties>
</Component>
@@ -71,12 +71,12 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
-
<EmptySpace min="0" pref="1" max="32767" attributes="0"/><br />
-
<EmptySpace min="0" pref="10" max="32767" attributes="0"/><br />
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
-
<EmptySpace min="0" pref="28" max="32767" attributes="0"/><br />
-
<EmptySpace min="0" pref="0" max="32767" attributes="0"/><br />
</Group>
</DimensionLayout>
</Layout>
[/patch]
TexturePanel.java
[patch]
— Remotely Modified (Based On HEAD)
+++ Locally Modified (Based On LOCAL)
@@ -92,7 +92,7 @@
jToolBar1.setPreferredSize(new java.awt.Dimension(212, 32));
jLabel1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jLabel1.text")); // NOI18N
-
jLabel1.setPreferredSize(new java.awt.Dimension(100, 0));<br />
-
jLabel1.setPreferredSize(new java.awt.Dimension(100, 16));<br />
jToolBar1.add(jLabel1);
jPanel1.setBackground(new java.awt.Color(204, 204, 204));
@@ -102,11 +102,11 @@
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGap(0, 1, Short.MAX_VALUE)<br />
-
.addGap(0, 10, Short.MAX_VALUE)<br />
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGap(0, 28, Short.MAX_VALUE)<br />
-
.addGap(0, 0, Short.MAX_VALUE)<br />
);
jToolBar1.add(jPanel1);
@@ -128,7 +128,7 @@
});
jToolBar1.add(jButton1);
-
jCheckBox1.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N<br />
-
jCheckBox1.setFont(new java.awt.Font("Lucida Grande", 0, 10));<br />
jCheckBox1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox1.text")); // NOI18N
jCheckBox1.setFocusable(false);
jCheckBox1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
@@ -139,7 +139,7 @@
});
jToolBar1.add(jCheckBox1);
-
jCheckBox2.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N<br />
-
jCheckBox2.setFont(new java.awt.Font("Lucida Grande", 0, 10));<br />
jCheckBox2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox2.text")); // NOI18N
jCheckBox2.setFocusable(false);
jCheckBox2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
[/patch]