httpdispatch / gxt-rtl

Automatically exported from code.google.com/p/gxt-rtl
Other
0 stars 1 forks source link

Resize Grid Column not normal in RTL #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Having a LTR Grid Panel 
2.Adding the wrtl JAR to project lib
3.Compile and run web application 

What is the expected output? What do you see instead?
RTL grid panel with alignment and normal column resize behavior

What version of the product are you using? On what operating system?
2.2.5

Please provide any additional information below.

Original issue reported on code.google.com by Bader.Do...@gmail.com on 8 Oct 2013 at 9:33

Attachments:

GoogleCodeExporter commented 9 years ago
What exactly is wrong in resize behaviour?

Original comment by vt...@mail.ru on 8 Oct 2013 at 10:40

GoogleCodeExporter commented 9 years ago
well, the grid layout going from LTR to RTL but the resize stayed as LTR which 
when you resize a column to the left the movement going right , In other words 
when you enlarge the width of the column it going shrink and vice versa

Original comment by Bader.Do...@gmail.com on 8 Oct 2013 at 12:56

GoogleCodeExporter commented 9 years ago
Not sure, but maybe it is issue related to some browser. I didn't update 
library for a last years and checked code only on FF, IE and Chrome. Can you 
please check whether you have same problem in demo? 
http://gxt-rtl.appspot.com/index-rtl.html#basicgrid

Original comment by vt...@mail.ru on 9 Oct 2013 at 6:12

GoogleCodeExporter commented 9 years ago
Thank you for reply , The example demo working fine as a resize column width 
behavior , I am wondering if there are important modifications that I must do 
with my grid code or libraries to make it working fine as the demo

there is a note on RTL grid demo for future enhancement on alignment of header 
columns and its data.

Original comment by Bader.Do...@gmail.com on 9 Oct 2013 at 6:55

GoogleCodeExporter commented 9 years ago
The correct alignment header columns with data appeared correctly in below grid:

http://gxt-rtl.appspot.com/index-rtl.html#autoheightgrid

Original comment by Bader.Do...@gmail.com on 9 Oct 2013 at 7:08

GoogleCodeExporter commented 9 years ago
How i remember when i developed extension chrome didn't have rtl scrollbar 
support, only FF. From there you may have alignment issue. Unfortunately i 
don't know when i'll fix that such as i am not fully supporting this project 
now.

>I am wondering if there are important modifications that I must do with my 
grid code or libraries to make it working fine as the demo

I am not sure, but it is possible that you viewing your application not in rtl 
locale, or you've forgot to include rtl css, or you have duplicate jars in 
classpath (rtl and ltr)

Original comment by vt...@mail.ru on 10 Oct 2013 at 8:19

GoogleCodeExporter commented 9 years ago
Thank you again for your reply , I got your point now and its clear for me , 
After long investigation about my code and the RTL updates that you made I 
found that when the structure of any UI control customized it wont work may be 
that lead for this bug.

Regarding scroll in grid and any other issues , I would like to help in any 
update or support in future for this RTL library specially I've gained a good 
experience during my work with it :) have a nice day

Original comment by Bader.Do...@gmail.com on 13 Oct 2013 at 8:37

GoogleCodeExporter commented 9 years ago
>I found that when the structure of any UI control customized it wont work may 
be that lead for this bug.

What kind of customization do you mean? Inheritance should work well. For sure 
if you do some styling update you need to take into account RTL layout

Original comment by vt...@mail.ru on 14 Oct 2013 at 5:22