ToolButton
Inherits: Button < BaseButton < Control < CanvasItem < Node < Object
Flat button helper class.
Description
This is a helper class to generate a flat Button (see Button.flat), creating a ToolButton
is equivalent to:
var btn = Button.new() btn.flat = true
Properties
bool | flat |
true (parent override)
|
Theme Properties
StyleBox | disabled | |
StyleBox | focus | |
Font | font | |
Color | font_color | Color( 0.88, 0.88, 0.88, 1 ) |
Color | font_color_disabled | Color( 0.9, 0.95, 1, 0.3 ) |
Color | font_color_hover | Color( 0.94, 0.94, 0.94, 1 ) |
Color | font_color_pressed | Color( 1, 1, 1, 1 ) |
StyleBox | hover | |
int | hseparation | 3 |
StyleBox | normal | |
StyleBox | pressed |
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_toolbutton.html