Hello,
well, you can not increase the size of elements fit into a layout. At least
this is not the way it should work at all.
Try to add
qx.ui.core.queue.Manager.flush();
at the end of your function and see if its working. A short try with a button
in the playground showed me no problems. In what scenario do you have the
problem at all. Could you perhaps build a little example in the playground and
share it?
Best,
Martin
Am 20.09.2010 um 09:55 schrieb Qoodary:
>
> Hello Martin,
> thanks a lot for your help.
>
> Ok I understand. Is it an option to increase / decrease the size of all
> elements like buttons which contains text?
> For example to add this in the function "bigfont"
>
> bigfont : function() {
> var doc = this.getRoot();
> var manager = qx.theme.manager.Font.getInstance();
> var defaultFont = manager.resolve(doc.getFont());
> var size = defaultFont.getSize();
> var newFont = defaultFont.clone();
> newFont.setSize(size + 2);
> doc.setFont(newFont);
>
> } ,
>
>
> Martin Wittemann wrote:
>>
>> Hello Hansjoerg,
>>
>> yes, this is a normal behavior. As we don't listen to the change of the
>> font size, the size of the label stays the same which causes the ellipsis
>> to appear because there isn't enough room for the text anymore. I could
>> guess that manual flush after setting the new font size could solve the
>> problem but thats only my best guess. Would have to try with some code to
>> give you a accurate answer.
>>
>> Best,
>> Martin
>>
>>
>> Am 18.09.2010 um 17:28 schrieb Qoodary:
>>
>>>
>>> Hello,
>>>
>>> One last question regarding increase font size:
>>>
>>> If I set the font size to 20, then the text of the buttons or Select
>>> boxes
>>> will be shown as
>>> Dea... instead of Deadline or Fi... instead of File.
>>>
>>> Is this a normal behavior? Or is it possible to adjust the layout
>>> automatically to the new font size?
>>>
>>> regards
>>> Hansjoerg
>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Decrease%2C-increase-Font-size--tp29738521p29746843.html
>>> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Decrease%2C-increase-Font-size--tp29738521p29757000.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel