On Monday 27 February 2006 11:40, Mattias Gaertner wrote:
> On Mon, 27 Feb 2006 11:15:03 +0200
>
> "A.J. Venter" <[EMAIL PROTECTED]> wrote:
> > On Monday 27 February 2006 10:47, Micha Nelissen wrote:
> > > A.J. Venter wrote:
> > > > Hi all,
> > > > Probably the most requested feature for tappytux is that the entry
> > > > line where users type answers needs to be bigger (I mean huge) and
> > > > prettier, using something like Comic Sans font at size 32 should do
> > > > it, but of course lazarus provides no means of setting fonts and
> > > > gtkrc seems to only be able to do it globally - not for one widget
> > > > type only.
> > >
> > > Are you sure gtk is really incapable of showing a different font for
> > > certain widgets ? IIRC Darek implemented Color property for some
> > > widgets, so I guess fonts should be possible as well. (But I have no
> > > gtk experience).
> > >
> > > If this is possible, then this is *the* way to go.
> >
> > I spent about 4 hours last night reading gtkrc howto´s and studying
> > existing  theme files and thus far I cannot find anything to do this,
> > even then it  STILL requires an external gtkrc file, I think a component
> > for those cases  where you do need it would be very usefull, the same way
> > a tstatictext can be  used instead of a tlabel when you just need output.
>
> I just tried under linux/gtk1: Setting a TEdit font size to 30 gave a a
> huge font.
>
Then this may be the right way, although I am using GTK2 here (I need the 
pango UTF support), and gtk_rc_parse will allow me to force a specific theme 
file. 
How exactly does your line look ? Any idea how I need ot change it to use 
GTK2 ? Or did you do this in code ?

A.J.
-- 
"80% Of a hardware engineer's job is application of the uncertainty principle.
80% of a software engineer's job is pretending this isn't so."
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com       | +27 82 726 5103 (South Africa)
http://www.silentcoder.co.za    | +55 118 162 2079 (Brazil)

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to