- fix material editor layout for some window managers (thanks to @madlion)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7937 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 12c76b676d
commit 2c635cf562
  1. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/ColorPanel.form
  2. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/ColorPanel.java
  3. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TextPanel.form
  4. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TextPanel.java
  5. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.form
  6. 8
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/TexturePanel.java

@ -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, &quot;{key}&quot;)"/> <ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="ColorPanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property> </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[100, 0]"/> <Dimension value="[100, 16]"/>
</Property> </Property>
</Properties> </Properties>
</Component> </Component>

@ -46,7 +46,7 @@ public class ColorPanel extends MaterialPropertyWidget {
jToolBar1.setRollover(true); jToolBar1.setRollover(true);
jLabel1.setText(org.openide.util.NbBundle.getMessage(ColorPanel.class, "ColorPanel.jLabel1.text")); // NOI18N jLabel1.setText(org.openide.util.NbBundle.getMessage(ColorPanel.class, "ColorPanel.jLabel1.text")); // NOI18N
jLabel1.setPreferredSize(new java.awt.Dimension(100, 0)); jLabel1.setPreferredSize(new java.awt.Dimension(100, 16));
jToolBar1.add(jLabel1); jToolBar1.add(jLabel1);
jPanel1.setBackground(new java.awt.Color(204, 204, 204)); jPanel1.setBackground(new java.awt.Color(204, 204, 204));

@ -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, &quot;{key}&quot;)"/> <ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="TextPanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property> </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[100, 0]"/> <Dimension value="[100, 16]"/>
</Property> </Property>
</Properties> </Properties>
</Component> </Component>

@ -46,7 +46,7 @@ public class TextPanel extends MaterialPropertyWidget {
jToolBar1.setRollover(true); jToolBar1.setRollover(true);
jLabel1.setText(org.openide.util.NbBundle.getMessage(TextPanel.class, "TextPanel.jLabel1.text")); // NOI18N jLabel1.setText(org.openide.util.NbBundle.getMessage(TextPanel.class, "TextPanel.jLabel1.text")); // NOI18N
jLabel1.setPreferredSize(new java.awt.Dimension(100, 0)); jLabel1.setPreferredSize(new java.awt.Dimension(100, 16));
jToolBar1.add(jLabel1); jToolBar1.add(jLabel1);
jPanel1.setBackground(new java.awt.Color(204, 204, 204)); jPanel1.setBackground(new java.awt.Color(204, 204, 204));

@ -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, &quot;{key}&quot;)"/> <ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="TexturePanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property> </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[100, 0]"/> <Dimension value="[100, 16]"/>
</Property> </Property>
</Properties> </Properties>
</Component> </Component>

@ -92,7 +92,7 @@ public class TexturePanel extends MaterialPropertyWidget {
jToolBar1.setPreferredSize(new java.awt.Dimension(212, 32)); jToolBar1.setPreferredSize(new java.awt.Dimension(212, 32));
jLabel1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jLabel1.text")); // NOI18N jLabel1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jLabel1.text")); // NOI18N
jLabel1.setPreferredSize(new java.awt.Dimension(100, 0)); jLabel1.setPreferredSize(new java.awt.Dimension(100, 16));
jToolBar1.add(jLabel1); jToolBar1.add(jLabel1);
jPanel1.setBackground(new java.awt.Color(204, 204, 204)); jPanel1.setBackground(new java.awt.Color(204, 204, 204));
@ -111,7 +111,7 @@ public class TexturePanel extends MaterialPropertyWidget {
jToolBar1.add(jPanel1); jToolBar1.add(jPanel1);
jLabel2.setFont(new java.awt.Font("Courier", 0, 13)); // NOI18N jLabel2.setFont(new java.awt.Font("Courier", 0, 13));
jLabel2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jLabel2.text")); // NOI18N jLabel2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jLabel2.text")); // NOI18N
jLabel2.setMaximumSize(new java.awt.Dimension(200, 30)); jLabel2.setMaximumSize(new java.awt.Dimension(200, 30));
jLabel2.setPreferredSize(new java.awt.Dimension(200, 14)); jLabel2.setPreferredSize(new java.awt.Dimension(200, 14));
@ -128,7 +128,7 @@ public class TexturePanel extends MaterialPropertyWidget {
}); });
jToolBar1.add(jButton1); jToolBar1.add(jButton1);
jCheckBox1.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N jCheckBox1.setFont(new java.awt.Font("Lucida Grande", 0, 10));
jCheckBox1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox1.text")); // NOI18N jCheckBox1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox1.text")); // NOI18N
jCheckBox1.setFocusable(false); jCheckBox1.setFocusable(false);
jCheckBox1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jCheckBox1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
@ -139,7 +139,7 @@ public class TexturePanel extends MaterialPropertyWidget {
}); });
jToolBar1.add(jCheckBox1); jToolBar1.add(jCheckBox1);
jCheckBox2.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N jCheckBox2.setFont(new java.awt.Font("Lucida Grande", 0, 10));
jCheckBox2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox2.text")); // NOI18N jCheckBox2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox2.text")); // NOI18N
jCheckBox2.setFocusable(false); jCheckBox2.setFocusable(false);
jCheckBox2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jCheckBox2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);

Loading…
Cancel
Save