Next Problem StringGadget

Linux specific forum
Joshua314
New User
New User
Posts: 7
Joined: Sat Aug 20, 2005 12:32 pm

Next Problem StringGadget

Post 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
Fred
Administrator
Administrator
Posts: 18342
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You can use the EditorGadget() instead (btw, the multiline flag will be removed with the v4).
Joshua314
New User
New User
Posts: 7
Joined: Sat Aug 20, 2005 12:32 pm

Sorry but not good

Post 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
Fred
Administrator
Administrator
Posts: 18342
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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)
Post Reply