472 ui_togglebutton(obj, .label = "XY", .hfill = TRUE); |
472 ui_togglebutton(obj, .label = "XY", .hfill = TRUE); |
473 ui_togglebutton(obj, .label = "AB", .hfill = TRUE); |
473 ui_togglebutton(obj, .label = "AB", .hfill = TRUE); |
474 ui_togglebutton(obj, .label = "ZZ", .hexpand = TRUE, .hfill = TRUE); |
474 ui_togglebutton(obj, .label = "ZZ", .hexpand = TRUE, .hfill = TRUE); |
475 ui_newline(obj); |
475 ui_newline(obj); |
476 |
476 |
477 ui_hbox(obj, .colspan = 2) { |
477 ui_hbox(obj, .colspan = 4, .hfill = TRUE, .hexpand = TRUE) { |
478 ui_checkbox(obj, .label = "Checkbox", .enable_group = 123); |
478 ui_checkbox(obj, .label = "Checkbox", .enable_group = 123); |
479 ui_checkbox(obj, .label = "Checkbox Disabled", .groups = UI_GROUPS(123)); |
479 ui_checkbox(obj, .label = "Checkbox Disabled", .groups = UI_GROUPS(123)); |
|
480 ui_button(obj, .label = "fill", .fill = UI_ON); |
480 } |
481 } |
481 ui_newline(obj); |
482 ui_newline(obj); |
482 |
483 |
483 |
484 |
484 ui_hbox(obj, .colspan = 4) { |
485 |
|
486 ui_hbox(obj, .colspan = 4, .hfill = TRUE, .hexpand = TRUE) { |
485 ui_radiobutton(obj, .label = "Radio 1", .varname = "radio"); |
487 ui_radiobutton(obj, .label = "Radio 1", .varname = "radio"); |
486 ui_radiobutton(obj, .label = "Radio 2", .varname = "radio"); |
488 ui_radiobutton(obj, .label = "Radio 2", .varname = "radio"); |
|
489 ui_button(obj, .label = "fill", .hexpand = TRUE, .hfill = TRUE); |
487 } |
490 } |
488 ui_newline(obj); |
491 ui_newline(obj); |
489 |
492 |
490 ui_hbox(obj, .vexpand = TRUE, .vfill = TRUE) { |
493 |
491 ui_button(obj, .label = "F1"); |
494 ui_hbox(obj, .colspan = 4, .vexpand = TRUE, .vfill = TRUE) { |
492 ui_button(obj, .label = "F2"); |
495 ui_button(obj, .label = "F1----------------------A"); |
493 ui_button(obj, .label = "F3"); |
496 ui_button(obj, .label = "F2 test test test test test test test"); |
494 } |
497 ui_button(obj, .label = "F312343543"); |
|
498 } |
|
499 |
495 |
500 |
496 } |
501 } |
497 |
502 |
498 |
503 |
499 |
504 |