1
0
Fork 0
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:
Liang Chang 2021-02-19 05:39:16 +08:00 committed by Jon Trulson
parent 6dcbe6275d
commit 056afeb35a

View file

@ -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);