From: handa Date: Thu, 29 Jul 2004 12:59:04 +0000 (+0000) Subject: (create_widgets): Fix width of index glyphs.. X-Git-Tag: REL-0-9-1~31 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45ed857b1fabb4045a47299481da43374e4c456d;p=m17n%2Flibotf.git (create_widgets): Fix width of index glyphs.. --- diff --git a/example/otfview.c b/example/otfview.c index 0b36be3..662d0b8 100644 --- a/example/otfview.c +++ b/example/otfview.c @@ -1018,7 +1018,8 @@ create_widgets () } w = head; } - XtSetArg(arg[4], XtNwidth, glyph_width + 2); + /* 10 = (1 (border_width) + 4 (inner_width)) * 2 */ + XtSetArg(arg[4], XtNwidth, glyph_width + 10); XtSetArg (arg[5], XtNfromVert, glyph[112]); XtSetArg (arg[6], XtNfromHoriz, w); XtSetArg (arg[7], XtNborderWidth, 0);