mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
[GTK3] Use menuitem padding between menuitem and check indicator.
This commit is contained in:
parent
51ddd61925
commit
7420a48c04
1 changed files with 1 additions and 1 deletions
|
|
@ -1907,12 +1907,12 @@ moz_gtk_check_menu_item_paint(cairo_t *cr, GdkRectangle* rect,
|
|||
"indicator-size", &indicator_size,
|
||||
"horizontal-padding", &horizontal_padding,
|
||||
NULL);
|
||||
gtk_style_context_get_padding(style, state_flags, &padding);
|
||||
ReleaseStyleContext(style);
|
||||
|
||||
style = ClaimStyleContext(isradio ? MOZ_GTK_RADIOMENUITEM :
|
||||
MOZ_GTK_CHECKMENUITEM,
|
||||
direction, state_flags);
|
||||
gtk_style_context_get_padding(style, state_flags, &padding);
|
||||
gint offset = padding.left + 2;
|
||||
|
||||
if (direction == GTK_TEXT_DIR_RTL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue