Skip to content

Commit

Permalink
Set same look and feel to Help button #4538
Browse files Browse the repository at this point in the history
  • Loading branch information
nadment committed Nov 7, 2024
1 parent bfe1977 commit a0c412d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/main/java/org/apache/hop/ui/util/HelpUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.hop.core.plugins.TransformPluginType;
import org.apache.hop.core.util.StringUtil;
import org.apache.hop.i18n.BaseMessages;
import org.apache.hop.ui.core.PropsUi;
import org.apache.hop.ui.core.dialog.ErrorDialog;
import org.apache.hop.ui.core.dialog.MessageBox;
import org.apache.hop.ui.core.gui.GuiResource;
Expand Down Expand Up @@ -60,6 +61,7 @@ public static Button createHelpButton(final Composite parent, final String url)

private static Button newButton(final Composite parent) {
Button button = new Button(parent, SWT.PUSH);
PropsUi.setLook(button);
button.setImage(GuiResource.getInstance().getImageHelpWeb());
button.setText(BaseMessages.getString(PKG, "System.Button.Help"));
button.setToolTipText(BaseMessages.getString(PKG, "System.Tooltip.Help"));
Expand Down

0 comments on commit a0c412d

Please sign in to comment.