put text back to the left and add a bit more spacing
This commit is contained in:
parent
b596a52fad
commit
6b038948cc
1 changed files with 1 additions and 2 deletions
|
@ -289,7 +289,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
|
||||||
texth = RrMinHeight(p->a_text);
|
texth = RrMinHeight(p->a_text);
|
||||||
|
|
||||||
/* find the height of the dialog */
|
/* find the height of the dialog */
|
||||||
h = t + b + (icon_rows * ICON_SIZE) + (OUTSIDE_BORDER + texth);
|
h = t + b + (icon_rows * ICON_SIZE) + (OUTSIDE_BORDER*2 + texth);
|
||||||
|
|
||||||
/* get the position of the text */
|
/* get the position of the text */
|
||||||
textx = l;
|
textx = l;
|
||||||
|
@ -429,7 +429,6 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* draw the text */
|
/* draw the text */
|
||||||
p->a_text->texture[0].data.text.justify = RR_JUSTIFY_CENTER;
|
|
||||||
p->a_text->texture[0].data.text.string = newtarget->text;
|
p->a_text->texture[0].data.text.string = newtarget->text;
|
||||||
p->a_text->surface.parentx = textx;
|
p->a_text->surface.parentx = textx;
|
||||||
p->a_text->surface.parenty = texty;
|
p->a_text->surface.parenty = texty;
|
||||||
|
|
Loading…
Reference in a new issue