Hi all:
we all know, SWT provides FillLayout,RowLayout,GridLayout,FormLayout for
us, So we can create our UI for freely. Recently,I met a strange problem.
I have develop my desktop program on linux(OPEN SUCE 10.3) all the time.
For create SWT UI Program, I used the GridLayout layout in order to adjust
UI.it works fine on linux and looks beautiful. It would be offset when i
test on windows xp. for example: I have set the same pixes on linux and
windows, but it isn't aligment .I don't know why it happens. Although SWT
depends on native library, the length of each control which i have set
fixed shouldn't be adjusted in different platform.It only changes its
appearance. should i use FormLayou layout. Should i write more than on
code if I want to develop the UI running on difference platform?
for the moment, i don't know how to deal with this problem?
can anyone tell me ??
thanks in advance.
dnise
2008-04-14