Mercurial > dwindows
comparison dwtest.c @ 377:d8176c73a081
Fixes for drawing of the combobox on OS/2. It now queries the entryfield
size when calculating the area to fill. Also, it checks the color set
by the user on the parent box to use the correct fill color.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 27 Apr 2003 23:00:35 +0000 |
parents | 2216e65ad2ae |
children | 12b3980a41a2 |
comparison
equal
deleted
inserted
replaced
376:b812cf360e49 | 377:d8176c73a081 |
---|---|
434 | 434 |
435 browsebox = dw_box_new(BOXHORZ, 0); | 435 browsebox = dw_box_new(BOXHORZ, 0); |
436 | 436 |
437 dw_box_pack_start(lbbox, browsebox, 0, 0, TRUE, TRUE, 0); | 437 dw_box_pack_start(lbbox, browsebox, 0, 0, TRUE, TRUE, 0); |
438 | 438 |
439 entryfield = dw_entryfield_new("", 100L); | 439 entryfield = dw_combobox_new("", 100L); |
440 | 440 |
441 dw_entryfield_set_limit(entryfield, 260); | 441 dw_entryfield_set_limit(entryfield, 260); |
442 | 442 |
443 dw_box_pack_start(browsebox, entryfield, 100, 15, TRUE, TRUE, 4); | 443 dw_box_pack_start(browsebox, entryfield, 100, 15, TRUE, TRUE, 4); |
444 | 444 |