Where is the godot default button art assets located?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LiquidLittle

I was thinking about reusing some of the button assets for other things and was wondering if anyone knew where the png of the buttons were?

:bust_in_silhouette: Reply From: Dlean Jeans

Dunno what you are looking for exactly.
But all of the icons in the editor can be found here on GitHub in SVG format and here in PNG format…
These SVG files can be used directly as a Texture inside Godot.

EDIT: To make the a Button’s Normal texture look like the default Hover texture (with exact quality):

Under Custom Styles > Normal of the Button, create a StyleBoxTexture:

  1. Set the Texture to button_hover.png
  2. Set all four Margin to 4
  3. Set all four Expand Margin to 2

This will create a 9-patch texture which only scales the center of the texture while keeping the corners and the sides. Thus keeping it from looking blurred.

Ah sorry, what I meant was the art assets like button hover and button normal, I tried using the one found under resources in the github page but the quality is quite bad. Basically what I wanted to do was to set the normal texture of the button so that it is using the same texture as when it is being hovered.

LiquidLittle | 2019-06-20 15:10

I just updated my answer which will help you improve the texture’s quality.

Dlean Jeans | 2019-06-21 07:29