raeleus / skin-composer

Create skins for LibGDX scene2d.ui with a graphical interface.
MIT License
427 stars 34 forks source link

Minor issues DialogSceneComposerJavaBuilder #135

Closed deviodesign closed 1 year ago

deviodesign commented 1 year ago

I found a few small mistakes when exporting with scene composer. Using: LibGDX version 1.11.0

Fixes:

Note: LibGDX itself has some inconsistent naming.

raeleus commented 1 year ago

Those are great finds! I'll work on those soon.

deviodesign commented 1 year ago

I can help. Do you mind if I refactor some things? These builder.addStatement calls can be extracted to functions.

private static void addPadStatements(CodeBlock.Builder builder, String variableName, float padLeft, float padRight, float padTop, float padBottom) ...
raeleus commented 1 year ago

That would be great. I have a full load right now. Thanks.