Skip to content

Commit

Permalink
FIX: the layout will be broken if the height is small
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranran-the-JuicyPork committed Jul 19, 2024
1 parent ea4cf88 commit 39959a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/vehiclelist_frame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ vehiclelist_frame_t::vehiclelist_frame_t() :
cont_sortable.set_margin(NO_SPACING, NO_SPACING);
cont_sortable.set_spacing(NO_SPACING);
cont_sortable.set_table_layout(1,2);
cont_sortable.set_alignment(ALIGN_TOP); // Without this, the layout will be broken if the height is small.
cont_sortable.add_component(&table_header);
cont_sortable.add_component(&scrolly);

Expand Down

0 comments on commit 39959a5

Please sign in to comment.