Skip to content

Commit

Permalink
Merge pull request #4539 from nadment/4538
Browse files Browse the repository at this point in the history
Set same look and feel to Help button #4538
  • Loading branch information
hansva authored Nov 7, 2024
2 parents 8850e01 + a0c412d commit f9220ba
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 f9220ba

Please sign in to comment.