mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 05:42:35 +00:00
Updated theming, added dangerous (red) button style, replaced Simulator edit_line with edit_box, tweaked various styles
This commit is contained in:
@@ -3,13 +3,13 @@ module TAC
|
||||
class ConfirmDialog < Dialog
|
||||
def build
|
||||
background Gosu::Color::GRAY
|
||||
label @options[:message], text_size: 18
|
||||
label @options[:message]
|
||||
|
||||
flow width: 1.0 do
|
||||
button "Cancel", width: 0.475, text_size: 18 do
|
||||
button "Cancel", width: 0.475 do
|
||||
close
|
||||
end
|
||||
button "Okay", width: 0.475, text_size: 18 do
|
||||
button "Okay", width: 0.475 do
|
||||
close
|
||||
|
||||
@options[:callback_method].call
|
||||
|
||||
Reference in New Issue
Block a user