Am 10.08.2015 um 19:11 schrieb Antonio Scuri: > In the GTK IUP driver what I do is to simply > call gtk_scrolled_window_set_shadow_type when MULTILINE=Yes, > and gtk_entry_set_has_frame when multiline=no. > > It is just that the border support. This could be a behavior depending on > the GTK installation or theme.
This seems to be the cause. > You can check the GTK IUP is using with the GTKVERSION global attribute. That's 2.24.25 here under Iup 3.15 (and I'm not sure that there is already gtk 3 available in the debian stable I'm running on my ARM). Thomas tried the very same code I ran linked against gtk 3.10 libgtk 2.24 on Mint 17.2 x86 Iup 3.14. Different results: border works as expected but the button placement is suboptimal. (See attached.) Best /Jörg > Best, > Scuri > > > > On Sat, Aug 8, 2015 at 10:05 AM, "Jörg F. Wittenberger" < > joerg.wittenber...@softeyes.net> wrote: > >> Sorry, I just re-read what I posted here. >> >> There is a bug in the picture I attached, while the text of the message >> is correct: the right single line IupText had border=No - just as the >> single line text claims. >> >> The multiline text in the attached picture above however wrongly claims >> that both the single lines would have border=Yes. That a mistake of mine. >> >> Am 08.08.2015 um 08:32 schrieb "Jörg F. Wittenberger": >>> Am 07.08.2015 um 23:04 schrieb Milind Gupta: >>>> Multiline is no by default so border worked for the code I sent. Is your >>>> code in lua? Can you send a sample case showing the problem. That will >> be >>>> the best way to fix it quickly if others can replicate it. >>> >>> It's not in Lua. I'm using the Chicken-bindings. So it's either >>> compiled to C or interpreted. (Doesn't make a difference.) >>> >>> Attached a screen shot showing the situation. >>> >>> You can see: the multiline text has no border. The left hand single >>> line text has a border as requested. The right hand text, which was >>> created with border=No, however does not have the additional padding >>> around the text (which is good) but still has the border as a darker >>> line around the text area. >>> >>> The second attachment is the same with the bgcolor set to global >>> dlgbgcolor to make the line more obvious. >>> >>> Regards >>> >>> /Jörg >>> >>> >>>> Milind >>>> On Aug 7, 2015 1:42 PM, Jörg F. Wittenberger < >>>> joerg.wittenber...@softeyes.net> wrote: >>>> >>>>> More Info: >>>>> >>>>> I've got a text without a border - as I want it. It works for >>>>> multiline=yes. Seems that only the combination of multiline=No and >>>>> border=No is not working for me. >>>>> >>>>> Am 04.08.2015 um 17:00 schrieb Antonio Scuri: >>>>>> I just tested BORDER under Windows, GTK2 (Ubuntu 10) and GTK3 >> (Ubuntu >>>>>> 14). And they all work fine. But notice that border is a creation only >>>>>> attribute, so it must be set before mapping into the native system. >> The >>>>>> Milind example does that.
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users