Mercurial > dwindows
comparison os2/dw.c @ 1459:98de42fc664d
Add missing extra height from spinbuttons OS/2.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 15 Dec 2011 22:36:58 +0000 |
parents | 23f7fcc1c727 |
children | 65986481a3d8 |
comparison
equal
deleted
inserted
replaced
1458:23f7fcc1c727 | 1459:98de42fc664d |
---|---|
4622 /* Spinbutton */ | 4622 /* Spinbutton */ |
4623 else if(strncmp(tmpbuf, "#32", 4)==0) | 4623 else if(strncmp(tmpbuf, "#32", 4)==0) |
4624 { | 4624 { |
4625 dw_font_text_extents_get(handle, NULL, testtext, NULL, &thisheight); | 4625 dw_font_text_extents_get(handle, NULL, testtext, NULL, &thisheight); |
4626 thiswidth = 50; | 4626 thiswidth = 50; |
4627 extraheight = 6; | |
4627 } | 4628 } |
4628 /* Entryfield */ | 4629 /* Entryfield */ |
4629 else if(strncmp(tmpbuf, "#6", 3)==0) | 4630 else if(strncmp(tmpbuf, "#6", 3)==0) |
4630 { | 4631 { |
4631 dw_font_text_extents_get(handle, NULL, testtext, NULL, &thisheight); | 4632 dw_font_text_extents_get(handle, NULL, testtext, NULL, &thisheight); |