Hello, please help me with the following problem:
I'm trying to create a large message dialog which can hold a bunch of text, which comes from props protocol into a given node. I created a custom message-dialog.xml with a textbox in a vbox and I handle it with the gui.nas library. It seems fine, the text shows up, but I have 2 problems: - I can't completely disable the scrollbar (even if I set the width of it to zero, the scrollbar is still visible, and it is also without any text in the box) - I can't set the font type and size only if i redefine the gui section in the style descriptor xml, but this way everything changes of course. Here is my xml: <?xml version="1.0"?> <PropertyList> <x>-20</x> <y>-6</y> <name>message-dialog</name> <layout>vbox</layout> <font> <name type="string">helvetica-2.txf</name> <size type="float">19</size> <slant type="float">0</slant> </font> <textbox> <!-- <font> <name type="string">helvetica-2.txf</name> <size type="float">19</size> <slant type="float">0</slant> </font> --> <!-- I tried the <font.. stuff inside the <textbox> and outside too, neither worked... -> <name>editfield</name> <halign>fill</halign> <pref-width>600</pref-width> <pref-height>500</pref-height> <slider>0</slider> <editable>false</editable> <property>/foo/message</property> </textbox> </PropertyList> (helvetica-2.txf is a custom font I created with accented characters, and it works fine with panel elements and also if I place it into the style descriptor xml.) The more important question is the 2nd one: font size and style, the scrollbar isn't so. Thank for help, Best regards: Mate Koch ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel