|
|
Re: SWT layout different on Win XP and Mac OS X [message #114659 is a reply to message #114619] |
Thu, 05 January 2006 19:16  |
Eclipse User |
|
|
|
Hi Dominique,
VE just reflects UI as if it were run. You would have the same
difference if you ran the file as an application. Unfortunately native
widgets differ a lot in appearance, and MAC tabs (and some components)
seem to have more padding by default than windows, and hence the
difference in layout. You could ask the SWT newsgroup about it, but it
looks like just differences in the native widgets itself.
Regards,
Sri.
Dominique Buenzli wrote:
> Hello,
> Please refer to the pictures attached pc.png and mac.png for easy
> understanding.
>
> http://www.medclipse.ch/newsgrpeclipse/mac.png
> http://www.medclipse.ch/newsgrpeclipse/pc.png
>
> I built some interface with VE. If I open the file in windows xp or in
> mac os X, the layout is not the same. See the length between the last
> tab and the border in the pictures attached.
> Should I open a bug for that ? If yes, where in swt or ve ?
> The problem persists after packaging the application for each plateform
>
> Thanks
> Dominique
>
> P:S: I am using Mac OS X 10.4 Java 1.5 Eclipse 3.2M4 VE1.2M1
>
|
|
|
Re: SWT layout different on Win XP and Mac OS X [message #611735 is a reply to message #114619] |
Thu, 05 January 2006 19:10  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
This is probably not a bug at all. From looking at the images I'm
guessing that the preferred sizes of the controls are just different
between OSX and Windows. They are being layed out correctly due to
different preferred widths. Each system can decide what the preferred
widths are for a control.
The reason I believe it is ok is bacause look at the "Facturer" button
above the tabs. It is also brought in which means that the desired size
of the window is smaller.
The way you can tell if it is the VE or not is to just run the actual
class outside of VE on the two systems and compare them. If different
then it is not the VE.
Dominique Buenzli wrote:
> Hello,
> Please refer to the pictures attached pc.png and mac.png for easy
> understanding.
>
> http://www.medclipse.ch/newsgrpeclipse/mac.png
> http://www.medclipse.ch/newsgrpeclipse/pc.png
>
> I built some interface with VE. If I open the file in windows xp or in
> mac os X, the layout is not the same. See the length between the last
> tab and the border in the pictures attached.
> Should I open a bug for that ? If yes, where in swt or ve ?
> The problem persists after packaging the application for each plateform
>
> Thanks
> Dominique
>
> P:S: I am using Mac OS X 10.4 Java 1.5 Eclipse 3.2M4 VE1.2M1
>
--
Thanks,
Rich Kulp
|
|
|
Re: SWT layout different on Win XP and Mac OS X [message #611736 is a reply to message #114619] |
Thu, 05 January 2006 19:16  |
Eclipse User |
|
|
|
Hi Dominique,
VE just reflects UI as if it were run. You would have the same
difference if you ran the file as an application. Unfortunately native
widgets differ a lot in appearance, and MAC tabs (and some components)
seem to have more padding by default than windows, and hence the
difference in layout. You could ask the SWT newsgroup about it, but it
looks like just differences in the native widgets itself.
Regards,
Sri.
Dominique Buenzli wrote:
> Hello,
> Please refer to the pictures attached pc.png and mac.png for easy
> understanding.
>
> http://www.medclipse.ch/newsgrpeclipse/mac.png
> http://www.medclipse.ch/newsgrpeclipse/pc.png
>
> I built some interface with VE. If I open the file in windows xp or in
> mac os X, the layout is not the same. See the length between the last
> tab and the border in the pictures attached.
> Should I open a bug for that ? If yes, where in swt or ve ?
> The problem persists after packaging the application for each plateform
>
> Thanks
> Dominique
>
> P:S: I am using Mac OS X 10.4 Java 1.5 Eclipse 3.2M4 VE1.2M1
>
|
|
|
Powered by
FUDForum. Page generated in 0.06403 seconds