kill the padding in the menu title
This commit is contained in:
parent
1ce84062b4
commit
9decfe0d76
1 changed files with 0 additions and 2 deletions
|
@ -399,8 +399,6 @@ static void menu_frame_render(ObMenuFrame *self)
|
||||||
self->a_title->texture[0].data.text.string = self->menu->title;
|
self->a_title->texture[0].data.text.string = self->menu->title;
|
||||||
RrMinsize(self->a_title, &tw, &th);
|
RrMinsize(self->a_title, &tw, &th);
|
||||||
tw = MIN(tw, MAX_MENU_WIDTH);
|
tw = MIN(tw, MAX_MENU_WIDTH);
|
||||||
tw += 2*PADDING;
|
|
||||||
th += 2*PADDING;
|
|
||||||
w = MAX(w, tw);
|
w = MAX(w, tw);
|
||||||
h += (self->title_h = th + ob_rr_theme->bwidth);
|
h += (self->title_h = th + ob_rr_theme->bwidth);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue