mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-08 03:59:54 +02:00
Applications/Internet/Cyberia: Dynamically resize tab length to fit window
This commit is contained in:
@@ -1088,6 +1088,8 @@ U0 @cyberia_win_repaint(Window*)
|
||||
background1->width -= vscroll1->width;
|
||||
}
|
||||
|
||||
tabpanel1->size = MinI64(234, tabpanel1->width / (tabpanel1->count + 1));
|
||||
|
||||
if (widgets_base->next && (prev_win_width != win->width || prev_win_height != win->height) || delta_z) {
|
||||
@reflow_node_list(browser->renderer);
|
||||
prev_win_width = win->width;
|
||||
|
||||
Reference in New Issue
Block a user