raeleus / skin-composer

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

TextTooltipStyle style creates automatically after creating Label style #52

Closed ProZhar closed 5 years ago

ProZhar commented 5 years ago

Hi again. Found some bug. Steps:

  1. Create an empty project.
  2. Create some color that required for generating the ttf font.
  3. Generate some ttf font for a label.
  4. Choose class Label and only add a generated font to default style.
  5. Save file and export skin.json.
  6. Open skin.json in editor and see a created TextTooltipStyle that referrer to the default Label style.

But we didn't create this style.

zszs

raeleus commented 5 years ago

I'm sorry to say that was intentional. The minimum requirement for a text tooltip is having a label style. Since default is available, it automatically populates it. I don't want to redo the way I handle this. Sorry!