mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
dtappbuilder: fix the rendering glitch of the list widget which contains a
label.
This commit is contained in:
parent
6dcbe6275d
commit
056afeb35a
1 changed files with 11 additions and 1 deletions
|
@ -1700,7 +1700,17 @@ write_list(GenCodeInfo genCodeInfo, ABObj list)
|
|||
int i;
|
||||
|
||||
write_convert_strings_to_xmstrings(genCodeInfo, list);
|
||||
genCodeInfo->cur_func.create_obj = list;
|
||||
|
||||
/*
|
||||
* genCodeInfo->cur_func.create_obj = list;
|
||||
*
|
||||
* TODO: Figure out the history of the above line.
|
||||
* The original file contains this line.
|
||||
* Actually, it breaks the hierarchy of widgets.
|
||||
* Comment out it to make the list widget with a label to be rendered
|
||||
* properly.
|
||||
*/
|
||||
|
||||
write_create_widget_by_non_va_conv_func(
|
||||
genCodeInfo, list, "XmCreateScrolledList", FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue