We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6a90c commit 1ded13eCopy full SHA for 1ded13e
src/main/java/com/ss/editor/plugin/api/property/control/ResourcePropertyEditorControl.java
@@ -64,9 +64,10 @@ protected void createComponents() {
64
changeButton.setGraphic(new ImageView(Icons.ADD_16));
65
changeButton.setOnAction(event -> processSelect());
66
67
- resourceLabel.prefWidthProperty().bind(widthProperty().multiply(DEFAULT_FIELD_W_PERCENT));
68
-
69
final HBox container = new HBox(resourceLabel, changeButton);
+ container.prefWidthProperty().bind(widthProperty().multiply(DEFAULT_FIELD_W_PERCENT));
+
70
+ resourceLabel.prefWidthProperty().bind(container.widthProperty());
71
72
FXUtils.addToPane(container, this);
73
0 commit comments