layout { margin { top 2; horizontal 8; bottom 6; }; }; column { stack { label "lbl_title" { text "Railroad Computer Control"; }; draghandle ""; }; row { indicator "ind_off" { style "red"; }; indicator "ind_on" { style "green"; }; indicator "ind_halt"; }; row { button "btn_off" { style "red"; text "Off"; }; constraint ALIGN_LEFT "ind_off"; constraint COPY_WIDTH "ind_off"; button "btn_on" { style "green"; text "On"; }; constraint ALIGN_LEFT "ind_on"; constraint COPY_WIDTH "ind_on"; button "btn_halt" { text "Halt"; }; constraint ALIGN_LEFT "ind_halt"; constraint COPY_WIDTH "ind_halt"; button "btn_trains" { text "Trains"; }; button "btn_telemetry" { text "Tmtr"; }; split; button "btn_quit" { style "red"; text "Quit"; }; }; label "lbl_status" { style "digital"; }; row { label "lbl_clock" { style "digital"; }; expand true false; button "btn_clock" { text "Clock"; }; }; };