The width of entries is no longer set by widget_allocate()

This commit is contained in:
Scoopta 2020-03-12 17:09:45 -07:00
parent 3e64b23847
commit c42ec7676d

View File

@ -422,12 +422,12 @@ static void widget_allocate(GtkWidget* widget, GdkRectangle* allocation, gpointe
++ratio;
}
if(ratio > 1) {
gtk_widget_set_size_request(widget, width, max_height * ratio);
gtk_widget_set_size_request(widget, -1, max_height * ratio);
} else {
max_height = allocation->height;
}
} else {
gtk_widget_set_size_request(widget, width, max_height);
gtk_widget_set_size_request(widget, -1, max_height);
}
} else {
max_height = allocation->height;