mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-23 16:09:20 -04:00
Small fixes
This commit is contained in:
@@ -107,6 +107,7 @@ public class BrowserFilterComp extends Comp<BrowserFilterComp.Structure> {
|
||||
}
|
||||
});
|
||||
button.prefHeightProperty().bind(text.heightProperty());
|
||||
button.prefWidthProperty().bind(text.heightProperty());
|
||||
return new Structure(box, (TextField) text, button);
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ public class BrowserNavBar extends Comp<BrowserNavBar.Structure> {
|
||||
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());
|
||||
|
||||
Reference in New Issue
Block a user