Mini Kabibi Habibi
layout ok_cancel_dialog {
view /*
EXCEPTION(name): dialog_name is a variable that is set by the dialog; this is just a base class.
*/
dialog(name: dialog_name,
placement: @place_row) {
sub_layout(name: "content");
column(child_horizontal: @align_fill) {
ok_button();
overlay(child_horizontal: @align_fill) {
cancel_button();
button(alt: "$$$/Controls/Buttons/ResetAlt=Reset",
identifier: "reset_button",
name: "$$$/Controls/Buttons/Reset=Reset");
button(alt: "$$$/Controls/Buttons/Default=&Default",
identifier: "default_button",
name: "$$$/Controls/Buttons/Default=&Default");
}
optional(bind: @show_auto_button,
child_horizontal: @align_fill) {
button(identifier: "auto_button",
name: "$$$/ControlsStrings/Auto=Auto");
}
sub_layout(name: "extra_buttons");
}
}
}