projects
/
m17n
/
libotf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b77a94
)
(create_widgets): Fix width of index glyphs..
author
handa
<handa>
Thu, 29 Jul 2004 12:59:04 +0000
(12:59 +0000)
committer
handa
<handa>
Thu, 29 Jul 2004 12:59:04 +0000
(12:59 +0000)
example/otfview.c
patch
|
blob
|
history
diff --git
a/example/otfview.c
b/example/otfview.c
index
0b36be3
..
662d0b8
100644
(file)
--- 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);