mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Small fixes
This commit is contained in:
parent
100820b439
commit
e63d044313
2 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue