Re: changing font details for a WOBatchNavigationBar
Re: changing font details for a WOBatchNavigationBar
- Subject: Re: changing font details for a WOBatchNavigationBar
- From: "Jonathan Fleming" <email@hidden>
- Date: Sun, 16 Jan 2005 09:21:56 +0000
Hi Clive,
Simply add a size attribute (plus other font attributes if you want) to your
components API and use this in the bindings of WOBuilder to set your
attribute from whatever component you want.
Eg.
FontContainer1: WOGenericContainer {
size= ^textSize;
elementName = "FONT";
}
FontContainer2: WOGenericContainer {
color = ^textColor;
elementName = "FONT";
}
HTH
Jonathan :^)
From: Kaj Hejer <email@hidden>
To: Clive Roberts <email@hidden>
CC: email@hidden
Subject: Re: changing font details for a WOBatchNavigationBar
Date: Fri, 14 Jan 2005 12:37:29 +0100
On 14. jan 2005, at 11.28, Clive Roberts wrote:
I wish to change the font details appearing in a WOBatchNavigationBar ,
how?
I tried using <font face= Arial ... and this worked, but trying to change
the font size <font size=1> ... failed!
Ideally I wish to set the details with CSS. I'd be grateful for any help.
Hi!
The source of this compoent is included with WO, see
/Developer/Examples/JavaWebObjects/Source/JavaWOExtensions
Make a copy of this component, add it to your project and make all the
changes you want :)
Feel free to file a enhancement requerst at bugreporter.apple.com for
adding some css-classes to this component so is would be easier to change
the look of this component.
-Kaj :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden