Hi!

I create a Textbox in PicoGUI 0.44 or 0.45 like this:


            FeldX=pgNewWidget(PG_WIDGET_TEXTBOX, PG_DERIVE_INSIDE,Kopfteil);
            pgSetWidget(PGDEFAULT,
                    PG_WP_SIDE,PG_S_TOP,
                    PG_WP_SIZE,pgFraction(1,4),
                    PG_WP_SIZEMODE,PG_SZMODE_CNTFRACT,
                    PG_WP_TEXT,pgNewString(&(EditFeld[FeldEdit][0])),
                    PG_WP_FONT, pgNewFont ("Helvetica",14, 0),
                    0);

and I get a "invalid widget property" errror.
Without the PG_WP_FONT property, I get no error, but in any case the font is much too 
small.

How do you change the fontsize for a textbox or if that's not possible, how do you 
change the default font?

Thanks a lot,

Roland

-- 
Hardware: The parts of a computer system that can be kicked



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to