Skip to content

Commit

Permalink
Fix link on the header label
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Aug 17, 2023
1 parent 7ca4662 commit 079ad77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.jpro.samples.website.component;

import com.jpro.web.Util;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;
import one.jpro.routing.LinkUtil;

public class Header extends HBox {

Expand All @@ -15,7 +15,7 @@ public Header() {
class HeaderLabel extends Label {
public HeaderLabel(String x, String url) {
super(x);
Util.setLink(this,url);
LinkUtil.setLink(this, url);
getStyleClass().add("header-label");

}
Expand Down

0 comments on commit 079ad77

Please sign in to comment.