Page 1 of 1
Next Problem StringGadget
Posted: Sat Aug 20, 2005 9:21 pm
by Joshua314
Sorry all,
next Problem or Error
On String Gadget option #PB_STRING_multiline
has no Function
and all text begin's in the middle of the gadget ..
pleaseeeeee... Help
Tom
Posted: Sun Aug 21, 2005 6:04 pm
by Fred
You can use the EditorGadget() instead (btw, the multiline flag will be removed with the v4).
Sorry but not good
Posted: Fri Aug 26, 2005 12:33 pm
by Joshua314
Hello Fred,
Why the Textgadget Doesn't work on Linux ?????
No Border and the first Line of Text is in the lowest linie at the gadget.
why ????
Thats my Problem....
I have a String of 4096 chars. In Windows thats very easy.
Put this in a textgadget. i see a border. The text begin's in the left upper corner and make an CR/LF on the right side of the textgadget.
Thats all...
Whats the Problem ????
Please help me...
Thanks Thomas
Posted: Fri Aug 26, 2005 2:08 pm
by Fred
I see. On linux the TextGadget() is a one line only gadget, and it's more a Windows 'feature' than the text automatically wrap when the line is too long. There is a GTK command to do that, so all isn't lost (i will add this as well to the PB lib for the final release). I hope this will work(not tested):
Code: Select all
gtk_label_set_line_wrap_(GadgetID(#YourTextGadget), #True)