Skip to content

Commit

Permalink
fixup! fixup! fixup! feat: new layout process
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Dec 22, 2024
1 parent c77daaa commit 071a018
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ui/src/ui_resizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ void ui_resizer_init(ui_resizer_t *resizer, ui_widget_t *target)
resizer->wrap = ui_widget_is_wrap(target);
resizer->line_min_main_size = 0;
resizer->line_min_cross_size = 0;
resizer->line_main_size = 0;
resizer->line_cross_size = 0;
resizer->min_main_size = 0;
resizer->min_cross_size = 0;
resizer->main_size = 0;
resizer->max_main_size = -1;
ui_widget_get_sizehint(target, &resizer->hint);
}
Expand Down

0 comments on commit 071a018

Please sign in to comment.