Skip to content

Commit

Permalink
Merge pull request #447 from neph1/fix_material_editor_tooltip
Browse files Browse the repository at this point in the history
fixes missing text for tooltip
  • Loading branch information
neph1 authored Jan 2, 2023
2 parents 15402b5 + d89a127 commit 4e3fbac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ TexturePanelSquare.jCheckBox2.text=repeat
TexturePanelSquare.jCheckBox1.text=flip
TexturePanelSquare.AccessibleContext.accessibleName=
TexturePanelSquare.text=
MaterialPreviewWidget.jToggleButton1.text=jToggleButton1
MaterialPreviewWidget.togglePbrEnvButton.label=
MaterialPreviewWidget.togglePbrEnvButton.toolTipText=Toggle PBR environment
Original file line number Diff line number Diff line change
Expand Up @@ -133,20 +133,20 @@
<Connection code="IconList.lightYellow" type="code"/>
</Property>
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="MaterialPreviewWidget.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="MaterialPreviewWidget.togglePbrEnvButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="focusable" type="boolean" value="false"/>
<Property name="horizontalTextPosition" type="int" value="0"/>
<Property name="label" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="MaterialPreviewWidget.label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
<ResourceString bundle="com/jme3/gde/materials/multiview/widgets/Bundle.properties" key="MaterialPreviewWidget.togglePbrEnvButton.label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[26, 24]"/>
</Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[26, 24]"/>
</Property>
<Property name="name" type="java.lang.String" value="" noResource="true"/>
<Property name="name" type="java.lang.String" value="togglePbrEnvButton" noResource="true"/>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
<Events>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
jToolBar1.add(jSeparator1);

togglePbrEnvButton.setIcon(IconList.lightYellow);
togglePbrEnvButton.setToolTipText(org.openide.util.NbBundle.getMessage(MaterialPreviewWidget.class, "MaterialPreviewWidget.toolTipText")); // NOI18N
togglePbrEnvButton.setToolTipText(org.openide.util.NbBundle.getMessage(MaterialPreviewWidget.class, "MaterialPreviewWidget.togglePbrEnvButton.toolTipText")); // NOI18N
togglePbrEnvButton.setFocusable(false);
togglePbrEnvButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
togglePbrEnvButton.setLabel(org.openide.util.NbBundle.getMessage(MaterialPreviewWidget.class, "MaterialPreviewWidget.label")); // NOI18N
togglePbrEnvButton.setLabel(org.openide.util.NbBundle.getMessage(MaterialPreviewWidget.class, "MaterialPreviewWidget.togglePbrEnvButton.label")); // NOI18N
togglePbrEnvButton.setMaximumSize(new java.awt.Dimension(26, 24));
togglePbrEnvButton.setMinimumSize(new java.awt.Dimension(26, 24));
togglePbrEnvButton.setName(""); // NOI18N
togglePbrEnvButton.setName("togglePbrEnvButton"); // NOI18N
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 4e3fbac

Please sign in to comment.