File tree Expand file tree Collapse file tree
src/main/java/com/ss/editor/ui/component/editor/impl/material Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949import com .ss .editor .util .MaterialUtils ;
5050import com .ss .rlib .ui .util .FXUtils ;
5151import javafx .collections .ObservableList ;
52- import javafx .scene .control .ComboBox ;
53- import javafx .scene .control .Label ;
54- import javafx .scene .control .ToggleButton ;
55- import javafx .scene .control .Tooltip ;
52+ import javafx .scene .control .*;
5653import javafx .scene .image .ImageView ;
5754import javafx .scene .input .DragEvent ;
5855import javafx .scene .input .KeyCode ;
@@ -156,7 +153,6 @@ public class MaterialFileEditor extends
156153 @ Nullable
157154 private ComboBox <String > materialDefinitionBox ;
158155
159-
160156 private MaterialFileEditor () {
161157 super ();
162158 }
@@ -410,6 +406,12 @@ protected void loadState() {
410406 return EditorMaterialEditorState ::new ;
411407 }
412408
409+ @ Override
410+ @ FXThread
411+ protected void calcVSplitSize (@ NotNull final SplitPane splitPane ) {
412+ splitPane .setDividerPosition (0 , 0.2 );
413+ }
414+
413415 /**
414416 * Reload the material.
415417 */
You can’t perform that action at this time.
0 commit comments