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
flat |
|
Theme Properties
disabled | ||
focus | ||
font | ||
font_color | Color( 0.88, 0.88, 0.88, 1 ) | |
font_color_disabled | Color( 0.9, 0.95, 1, 0.3 ) | |
font_color_hover | Color( 0.94, 0.94, 0.94, 1 ) | |
font_color_pressed | Color( 1, 1, 1, 1 ) | |
hover | ||
hseparation | 3 | |
normal | ||
pressed |
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_toolbutton.html