Sami,
I entered a bug for this topic (bug#1809,
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1809). Please feel free to
add to it, and attach any code you might find useful for us.
Cheers,
Thomas
Sami Khaled wrote:
> Hi
>
> I working with qooxdoo for month
> I see it is the best
>
> The problem is when adding dir="rtl" attr. to body tag
> To fix : (suggests)
> 1- I suggest to add a property "rightToLeft" or "dir" to qx.ui.core.Widget
> rightToLeft : {
> check : "Boolean",
> nullable : true,
> apply : "_applyRightToLeft",
> event : "changeRightToLeft",
> inheritable : true
> }
>
> if property not set gets its value from parent like textColor or font
>
> 2- you must reimplement layouts to render will with right to left
> i.e. : for qx.ui.layout.HBox I used this
> rtl = layout.getRightToLeft();
> align = layout.getAlignX();
> layout.setReversed(rtl);
> if(rtl && align!="center") layout.setAlignX(align=="right" ?
> "left" : "right");
>
> 3- must reimplementing qx.ui.forms.* widgets to support this
>
> and more and more to fixing this problem
> ---------------------------------------------
> First problem I see when changing page layout to rtl
> when using qx.ui.basic.Label widget the horizontal scrollbar
> for the document appears, it is annoying me
> but I am looked in the code for that I found that qooxdoo
> used a dummy div element to calculate height for label
> and fixed this problem and happy for that
> at qx.bom.Label
> method: "__prepareText" I commented this line //style.left = style.top =
> "-1000px";
> method: "__prepareHtml" also commented this line //style.left = style.top
> = "-1000px";
> method: "getHtmlSize" empties the dummy element after return size
> method: "getTextSize" empties the dummy element after return size
>
> thank you for your patience
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel