diff --git a/app/src/main/java/io/xpipe/app/browser/BrowserFilterComp.java b/app/src/main/java/io/xpipe/app/browser/BrowserFilterComp.java index cc42316ca..7706c210b 100644 --- a/app/src/main/java/io/xpipe/app/browser/BrowserFilterComp.java +++ b/app/src/main/java/io/xpipe/app/browser/BrowserFilterComp.java @@ -107,6 +107,7 @@ public class BrowserFilterComp extends Comp { } }); button.prefHeightProperty().bind(text.heightProperty()); + button.prefWidthProperty().bind(text.heightProperty()); return new Structure(box, (TextField) text, button); } diff --git a/app/src/main/java/io/xpipe/app/browser/BrowserNavBar.java b/app/src/main/java/io/xpipe/app/browser/BrowserNavBar.java index d2c7198d4..f43f8b984 100644 --- a/app/src/main/java/io/xpipe/app/browser/BrowserNavBar.java +++ b/app/src/main/java/io/xpipe/app/browser/BrowserNavBar.java @@ -129,7 +129,7 @@ public class BrowserNavBar extends Comp { var topBox = new HBox(homeButton, stack, historyButton); topBox.setAlignment(Pos.CENTER); homeButton.minWidthProperty().bind(pathRegion.heightProperty()); - homeButton.maxWidthProperty().bind(pathRegion.heightProperty()); + homeButton.maxWidthProperty().bind(pathRegion.heightProperty().multiply(1.3)); homeButton.minHeightProperty().bind(pathRegion.heightProperty()); homeButton.maxHeightProperty().bind(pathRegion.heightProperty()); historyButton.minHeightProperty().bind(pathRegion.heightProperty());