Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Can't set font size in SimpleChat


Level 3
Just a heads up that historyFontSize has no effect on the
appearance of the SimpleChat pod, either when provided in the MXML
tag or explicitly set in actionscript.

2 Replies


Level 10

It used to work. I will get back with details in it.


Hironmay Basu


Level 10
Hi Rick,

I ran a simple code ( attached ) with SimpleChat and I agree
though it works fine once you are in the session and you get any
messages or send any message , it is of the size you have set ,

but the messages you get syncd up in the very beginning were
being shown in the default size , and the reason was when you set
the property in mxml , the model wasn't even created and when we
create the model, we were not passing that value and we don't store
the value in the server.

I have fixed this in the code and

if ( _historyFontSizeChanged ) {

_model.historyFontSize = _historyFontSize ;


is the extra line i added in when i create the
SimpleChatModel i.e.

_model = new SimpleChatModel(_sessionDependent);

_model.sharedID = sharedID ;

if ( _historyFontSizeChanged ) {

_model.historyFontSize = _historyFontSize ;


_model.connectSession = _connectSession ;


Thanks for poiting it out. Will be updated in the SDK in
coming weeks.


Hironmay Basu