Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set same look and feel to Help button #4538 #4539

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading