[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: SWT CONTROL ISSUE

dnise wrote:
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
Hi. Is it possible for you to post a small-as-possible snippet that demonstrates the problem? That way, people here could look at it and try it and, if it is indeed a bug, you'll have something to submit with your bug report. Thanks. Mark