The width of entries is no longer set by widget_allocate()
This commit is contained in:
parent
3e64b23847
commit
c42ec7676d
@ -422,12 +422,12 @@ static void widget_allocate(GtkWidget* widget, GdkRectangle* allocation, gpointe
|
|||||||
++ratio;
|
++ratio;
|
||||||
}
|
}
|
||||||
if(ratio > 1) {
|
if(ratio > 1) {
|
||||||
gtk_widget_set_size_request(widget, width, max_height * ratio);
|
gtk_widget_set_size_request(widget, -1, max_height * ratio);
|
||||||
} else {
|
} else {
|
||||||
max_height = allocation->height;
|
max_height = allocation->height;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
gtk_widget_set_size_request(widget, width, max_height);
|
gtk_widget_set_size_request(widget, -1, max_height);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
max_height = allocation->height;
|
max_height = allocation->height;
|
||||||
|
Loading…
Reference in New Issue
Block a user