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
-- 
View this message in context: 
http://n2.nabble.com/qooxdoo-does-not-support-right-to-left-tp1662399p1665686.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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

Reply via email to