I think you will have to estimate the number of wrapped lines and add them to visiblelines. Despite that I have no idea.
Best, Scuri On Fri, Aug 7, 2015 at 7:27 AM, "Jörg F. Wittenberger" < joerg.wittenber...@softeyes.net> wrote: > Hi, > > I've got little success to get IupText with wordrwap=yes (and > mutliline=yes) to work. > > I want the multiline text to be large enough to hold all the text (i.e., > no vertical scroll bar), but _not_ expand=yes so it's not using more > space than required. > > I'e got this working with expand=no and a map_cb, which sets > VISIBLELINES to the value of the LINECOUNT attribute. (I could have > counted those lines "myself" and set visiblelines right from the start, > but...) I intented this to work for wordwrap=yes as well. But it does not. > > At this point I don't see how to control the vertical space for > wordwrap'ed text. > > Thanks for any hint. > > /Jörg > > > ------------------------------------------------------------------------------ > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users