mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix oversized font when scoreboard miniwindow has two lines.
This commit is contained in:
parent
1094680ee7
commit
ac42b5e7d6
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ insetRect( XP_Rect* r, short i )
|
|||
#define DRAW_WHAT(dc) ((dc)->drawing_area->window)
|
||||
#endif
|
||||
|
||||
#define GTKMIN_W_HT 8
|
||||
#define GTKMIN_W_HT 12
|
||||
|
||||
static void
|
||||
eraseRect( GtkDrawCtx* dctx, const XP_Rect* rect )
|
||||
|
@ -962,7 +962,7 @@ gtk_draw_drawMiniWindow( DrawCtx* p_dctx, const XP_UCHAR* text,
|
|||
eraseRect( dctx, &localR );
|
||||
frameRect( dctx, &localR );
|
||||
|
||||
draw_string_at( dctx, text, localR.height-2,
|
||||
draw_string_at( dctx, text, GTKMIN_W_HT,
|
||||
&localR, XP_GTK_JUST_CENTER,
|
||||
&dctx->black, NULL );
|
||||
} /* gtk_draw_drawMiniWindow */
|
||||
|
|
Loading…
Reference in a new issue