mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-22 15:40:31 -04:00
Fix layout shift with small height
This commit is contained in:
@@ -29,6 +29,7 @@ public class StoreLayoutComp extends SimpleComp {
|
||||
left.hide(AppMainWindow.getInstance().getStage().widthProperty().lessThan(1000));
|
||||
left.minWidth(270);
|
||||
left.maxWidth(500);
|
||||
left.minHeight(0);
|
||||
var comp = new LeftSplitPaneComp(left, new StoreEntryListComp())
|
||||
.withInitialWidth(AppLayoutModel.get().getSavedState().getSidebarWidth())
|
||||
.withOnDividerChange(aDouble -> {
|
||||
|
||||
@@ -80,6 +80,7 @@ public class AppPrefsComp extends SimpleComp {
|
||||
sidebar.setMinWidth(260);
|
||||
sidebar.setPrefWidth(260);
|
||||
sidebar.setMaxWidth(260);
|
||||
sidebar.setMinHeight(0);
|
||||
|
||||
var split = new HBox(sidebar, scrollPane);
|
||||
HBox.setMargin(sidebar, new Insets(4));
|
||||
|
||||
Reference in New Issue
Block a user