Closed LyricSeraph closed 2 years ago
Version: 46
Code generated with SplitPane will duplicate the first pane part twice and miss the second pane.
See example below:
UI display on scene composer:
Code generated:
// impots... public class Core extends ApplicationAdapter { private Skin skin; private Stage stage; public void create() { stage = new Stage(new ScreenViewport()); skin = new Skin(Gdx.files.internal("skin.json")); Gdx.input.setInputProcessor(stage); Table table = new Table(); table.setFillParent(true); Label label = new Label("first pane", skin); label = new Label("first pane", skin); SplitPane splitPane = new SplitPane(label, label, false, skin); table.add(splitPane); stage.addActor(table); } // remaining codes }
It looks a wrong child is passed on this line:
https://github.com/raeleus/skin-composer/blob/33e33c97385009eadc99b5de609a3347c0208897/core/src/com/ray3k/skincomposer/dialog/scenecomposer/DialogSceneComposerJavaBuilder.java#L937
Oh my! What a big screw up. I'll make an update soon. Thanks for your research on this.
Version: 46
Code generated with SplitPane will duplicate the first pane part twice and miss the second pane.
See example below:
UI display on scene composer:
Code generated: