raeleus / skin-composer

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

NinePatch drawable preview glitch #108

Closed CrisN4N closed 3 years ago

CrisN4N commented 3 years ago

I want to create ProgressBar skin. I create background drawable for it using 9 patch. After loading simple image and setting padding and content i got: изображение I tried to change preview actor size, but this glitch still alive. As you can see, the border lines are more bold and the right side are white instead black. (preview in creation window is broken)

After saving THIS 9 patch (with THIS settings), i can see: изображение (preview in progressbar skin is normal)

Image for testing: ProgressbarBgrTest

Skin Composer ver 45

raeleus commented 3 years ago

It seems you have some odd system settings that are causing the entire UI to be blurry and rounding pixels incorrectly. Are you using some sort of window manager or a weird OS? What are your texture packer settings for preview (you can find a link in settings). I'm going to close this for now.

CrisN4N commented 3 years ago

@raeleus maybe you are right. I use win 7, but it is virtual machine (vurtual box with directx support)

CrisN4N commented 3 years ago

@raeleus i will try to use skin composer in host system later