popupmenu itemsize

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu Feb 13 08:56:21 CST 2003


>>>>> "Christian" == Christian Kristukat <semmel at hoc.net> writes:

    Christian> Hi, I suspect that this again is a dirty patch but it helps
    Christian> in working with Microcal Origin. Maybe a more skilled person
    Christian> than me finds the real origin of this problem.  At one point
    Christian> in the program a popup menu opens but only the items' width
    Christian> is calculated correctly, the height is not, in fact it is
    Christian> equal zero. For that case I added an arbitrarily chosen
    Christian> height of 12 points and it works fine.  Here's the patch:

...
    Christian> lpitem->rect.bottom += 12; +

Nagic constants mostly are evil? It the "12" perhaps related to some
SYSPARAMS?

...

    Christian> PS: By the way: every cvs operation (update, diff) hangs
    Christian> after processing the last directory. However it seems to be
    Christian> complete and pressing CTRL-C seems not to corrupt
    Christian> anything. Any ideas?

Are you using rhlx01.fht-esslingen.de? Andi works on that problem then.

Bye

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-patches mailing list