forked from AuroraMiddleware/gtk
Fix corner manipulation when growing rounded rects
This addresses problems with uneven border radius', pointed out by Lapo.
This commit is contained in:
parent
7e5952c4ea
commit
52a34d32bb
@ -198,8 +198,8 @@ _gtk_rounded_box_grow (GtkRoundedBox *box,
|
||||
}
|
||||
|
||||
gtk_css_border_radius_grow (&box->corner[GTK_CSS_TOP_LEFT], left, top);
|
||||
gtk_css_border_radius_grow (&box->corner[GTK_CSS_TOP_RIGHT], right, bottom);
|
||||
gtk_css_border_radius_grow (&box->corner[GTK_CSS_BOTTOM_RIGHT], right, top);
|
||||
gtk_css_border_radius_grow (&box->corner[GTK_CSS_TOP_RIGHT], right, top);
|
||||
gtk_css_border_radius_grow (&box->corner[GTK_CSS_BOTTOM_RIGHT], right, bottom);
|
||||
gtk_css_border_radius_grow (&box->corner[GTK_CSS_BOTTOM_LEFT], left, bottom);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user