Re: [Iup-users] Resize single control after attribute change?
Brought to you by:
scuri
From: Antonio S. <ant...@gm...> - 2018-05-15 20:04:17
|
Hi, If the list changes it's size it may affect the layout of the whole dialog. That's why in a general case you should call IupRefresh to recalculate the dialog layout. If you know that your change will affect only a smaller region of the dialog then you can call IupRefreshChildren for the container that defines that region. Calling IupRefreshChildren for the list is useless, since it doesn't have children. Best, Scuri Em ter, 15 de mai de 2018 16:12, Mihail Ivanchev <mih...@gm...> escreveu: > Hi IUP, > > I have a list (as a combobox) that I wish to resize (i.e. > VISIBLECOLUMNS) after updating the items. How could I achieve this? > IupRefreshChildren(list) doesn't seem to work and the documentation > states IupRefresh would refresh the whole dialog. > > Thanks > MI > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > |