[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Grid spacing too large on Motif
|
From the description it sounds like Motif behavior. When you create buttons
in a dialog shell (a shell who's parent is a shell rather than the display),
then Motif leaves extra space for the default button emphasis. You should
be able to get rid of it using .Xdefaults. You'll need to post a complete
snippet for me to be sure.
<kozitza@xxxxxxxxxx> wrote in message news:csoo6i$s34$1@xxxxxxxxxxxxxxxxxx
> I cannot seem to get my gui to look right on aix with motif (linux and
> window does not have the problem). I am using the gridlayout to layout
> several rows that contain Buttons and Text widgets. However the vertical
> spacing between the grid locations is too wide. I have set the
> GridLayout.veriticalSpacing to 0 and I have set the
> GridLayout.marginHeight to 0. I see the affects of this on linux and
> windows, but not on AIX with motif.
>
> I have also tried to play with the .Xdefaults to decrease sizes with the
> following:
>
> *spacing :0
> *XmTextField.marginHeight: 0
> *XmPushButton.marginHeight: 0
> *XmToggleButton.marginHeight: 0
>
> Although these changes seem to help some none of them remove the extra
> vertical space between rows. One panel has several rows and there is
> just too much wasted space.
>
> By the way, I am using eclipse 3.0.1
>
> Brian Kozitza
>
>