LinkEmbed does not support auto-sizing (preferred dimension  
calculation) like most of the things in embed/. If you rely on this  
feature please use "Label" instead and fill it with the complete HTML  
e.g. <a href...

Sebastian



Am 15.04.2007 um 19:56 schrieb Christian Boulanger:

> There seems to be a bug with layouting the linkEmbed widget. It  
> doesn't get rendered correctly in a HorizontalBoxLayout and with  
> absolute positioning, the surrounding GroupBox is not correctly  
> drawn. Also, the font is not themed.
>
> Here is the code and the result as screenshots:
>
> screenshot-link-embed.png:
>
> var qx_id4493890 = new qx.ui.groupbox.GroupBox('QxTransformer  
> info',null);
> qx_id4493890.setDimension(285 ,40);
> qx_id4493884.add(qx_id4493890);
>
> var qx_id4493898 = new qx.ui.embed.LinkEmbed('Source xml','../ 
> source/xml/showcase.Application.qxml','_blank');
> qx_id4493898.setTop(0);
> qx_id4493890.add(qx_id4493898);
>
> var qx_id4493908 = new qx.ui.embed.LinkEmbed('Source  
> javascript','../source/class/showcase/Application.js','_blank');
> qx_id4493908.setTop(20);
> qx_id4493890.add(qx_id4493908);
>
> --------------------------------------
> screenshot-link-embed2.png:
>
> var qx_id4493890 = new qx.ui.groupbox.GroupBox('QxTransformer  
> info',null);
> qx_id4493890.setDimension(285 ,40);
> qx_id4493884.add(qx_id4493890);
>
> var qx_id4493896 = new qx.ui.layout.VerticalBoxLayout();
> qx_id4493890.add(qx_id4493896);
>
> var qx_id4493898 = new qx.ui.embed.LinkEmbed('Source xml','../ 
> source/xml/showcase.Application.qxml','_blank');
> qx_id4493896.add(qx_id4493898);
>
> var qx_id4493906 = new qx.ui.embed.LinkEmbed('Source  
> javascript','../source/class/showcase/Application.js','_blank');
> qx_id4493896.add(qx_id4493906);
>
> Christian
>
> Leander Hanwald schrieb:
>> Hi
>>
>> I think this is what you are looking for:
>> http://demo.qooxdoo.org/0.7-alpha2/sample/html/test/Link_1.html
>>
>> Greetings,
>>   Leander
>>
>> Christian Boulanger wrote:
>>
>>> Hello,
>>>
>>> If I remember correctly, there was a QxLink widget in version  
>>> 0.5- which could add a plain old html link on the website, useful  
>>> for the simple opening of external windows. Is there an  
>>> equivalent in 0.7 - I couldn't find it, maybe I'm blind...
>>>
>>> Thanks,
>>>
>>> Christian
>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [EMAIL PROTECTED]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
> <screenshot-link-embed.png>
> <screenshot-link-embed2.png>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/ 
> _______________________________________________
> qooxdoo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to