mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-04 03:46:57 -04:00
parent
3ebbdb60ef
commit
47cc9ebe2b
@ -299,7 +299,7 @@ public class InstallerItem extends Control {
|
|||||||
Pane pane;
|
Pane pane;
|
||||||
if (control.style == Style.CARD) {
|
if (control.style == Style.CARD) {
|
||||||
pane = new VBox();
|
pane = new VBox();
|
||||||
holder.add(FXUtils.onWeakChangeAndOperate(pane.widthProperty(), v -> FXUtils.setLimitHeight(pane, v.doubleValue() * 0.7)));
|
holder.add(FXUtils.onWeakChange(pane.widthProperty(), v -> FXUtils.setLimitHeight(pane, v.doubleValue() * 0.7)));
|
||||||
} else {
|
} else {
|
||||||
pane = new HBox();
|
pane = new HBox();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user