Fixed Variable dialog erroneously saying that a valid type was invalid, removed old states and renamed NewEditor to Editor, updated dialogs with 2 side-by-side buttons to use 0.5 instead of 0.475 dynamic width, removed manual newlines in dialogs since TextBlock now supports word wrap.

This commit is contained in:
2021-06-18 03:35:57 +00:00
parent 64d4f08410
commit 2969e3df9e
14 changed files with 181 additions and 815 deletions

View File

@@ -15,11 +15,11 @@ module TAC
label @options[:message]
flow width: 1.0, margin_top: THEME_DIALOG_BUTTON_PADDING do
button "Cancel", width: 0.475 do
button "Cancel", width: 0.5 do
close
end
button "Proceed", width: 0.475, **TAC::THEME_DANGER_BUTTON do
button "Proceed", width: 0.5, **TAC::THEME_DANGER_BUTTON do
try_commit(true)
end
end