[Iup-users] Normalizers
Hi, it seems that the normalizers don't like me. I created a matrix from vbox/hbox having a label and a multiline text. All labels added to a normalizer. When I set the NORMALIZE to HORIZONTAL the first time all works well and the left column has the correct width. Than I change all the titles of those labels and again set the normalize attribute on the normalizer. Still the labels keep their width. What am I possibly missing? (I already messed around calling additional IupRefresh's the modified labels, but this did not yield the desired effect.) Thanks a lot /Jörg -- ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
Re: [Iup-users] Normalizers
I figured out that I can force those normalizers to get up on their hind legs and beg. All I have to do is: remove some size-attribute. If I either set SIZE or RASTERSIZE to NULL than I get the normalization again. (Now I have visual effects, which is not so good either. But I have hope to eventually learn how to best cope with those.) But which of the size attributes SHOULD I actually set to NULL? Thanks /Jörg Am 26.08.2015 um 17:28 schrieb "Jörg F. Wittenberger": > Hi, > > it seems that the normalizers don't like me. > > I created a matrix from vbox/hbox having a label and a multiline text. > All labels added to a normalizer. > > When I set the NORMALIZE to HORIZONTAL the first time all works well and > the left column has the correct width. > > Than I change all the titles of those labels and again set the normalize > attribute on the normalizer. > > Still the labels keep their width. > > What am I possibly missing? (I already messed around calling additional > IupRefresh's the modified labels, but this did not yield the desired > effect.) > > Thanks a lot > > /Jörg -- ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
[Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.
I'm trying to use the ACTION callback on a IupText. The callback receives wierd values for the 3rd (char* new_value) argument. Here what I get when I enter "merkwürdig": SearchV: "m" SearchV: "me" SearchV: "mer" SearchV: "merk" SearchV: "merkw" SearchV: "merkwü" SearchV: "merkw�r�" SearchV: "merkwüdr" SearchV: "merkwürid" SearchV: "merkwürdgi" The "ü" character is first damaged, then restored. Worse: from now on the last two characters are always kept swapped. The problem worsens to total mess when I enter two UTF-8 characters. I've been able to work around the problem by ignoring the ACTION callback and retrieving the current value in VALUECHANGED_CB. Just wanted to inform you about the issue. Best /Jörg -- ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users