diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-08-29 02:59:19 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-08-29 02:59:19 +0330 |
commit | 555c98cb9bfc95a05a956b1be10cd2fea4afb677 (patch) | |
tree | ff24ae681da5a95fa8a4d819d18981038ab5cdfd /src/main.c | |
parent | 7f7ced3f7f61d6cd31a43c5d03d606879295d624 (diff) |
made tui_make_widget_array needless to determining size
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -14,13 +14,13 @@ WIDGET *ui_build(TUI *tui) { return tui_make_box( -1, -1, tui_make_column(tui_make_widget_array( - 2, tui_make_box(0, 12, NULL, COLOR_NO_COLOR), + tui_make_box(0, 12, NULL, COLOR_NO_COLOR), tui_make_row(tui_make_widget_array( - 2, tui_make_box(50, 0, NULL, COLOR_NO_COLOR), + tui_make_box(50, 0, NULL, COLOR_NO_COLOR), tui_make_box( 20, 3, tui_make_column(tui_make_widget_array( - 2, tui_make_text("This is the second page", COLOR_BLUE), + tui_make_text("This is the second page", COLOR_BLUE), tui_make_button(tui_make_text(" Back", COLOR_RED), on_button_click))), @@ -30,9 +30,9 @@ WIDGET *ui_build(TUI *tui) { return tui_make_box( -1, -1, tui_make_column(tui_make_widget_array( - 2, tui_make_box(0, 12, NULL, COLOR_NO_COLOR), + tui_make_box(0, 12, NULL, COLOR_NO_COLOR), tui_make_row(tui_make_widget_array( - 2, tui_make_box(50, 0, NULL, COLOR_NO_COLOR), + tui_make_box(50, 0, NULL, COLOR_NO_COLOR), tui_make_button( tui_make_box(16, 3, tui_make_text("\nClick here", COLOR_BLUE), |