| 
 | 
 | 
| Re: SashForm not really visible [message #375337 is a reply to message #375327] | 
Fri, 10 October 2003 09:31   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
That is because of point 1 in my reply - the Border style is not being 
applied to the Sash objects created. 
 
"Chris Freyer" <Chris@TheFreyers.net> wrote in message 
news:bm50ia$lts$1@eclipse.org... 
> Thanks Veronika, but the problem still happens when I set the width to a 
> larger number.  In order for the sash to appear raised, all my widgets 
> need to be placed on a composite, and it goes on into the SashForm. 
> 
> Thanks-- 
> Chris 
> 
> 
> Veronika Irvine wrote: 
> 
> > Two things appear to be happening: 
> 
> > 1) SashForm creates the Sash widgets without the style SWT.BORDER 
> > 2) SashForm has a default width of 3 pixels - on Windows XP, at this 
width 
> > no border is drawn (event if the SWT.BORDER is applied to the Sashes). 
A 
> > minimum width of 4 is required. 
> 
> > I entered the following bug report to track this: 
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=44301 
> 
> > "Chris Freyer" <Chris@TheFreyers.net> wrote in message 
> > news:blsa53$dcc$1@eclipse.org... 
> > > I'm working with a SashForm control, and it looks flat, not raised.  I 
see 
> > > a plain grey line where I though I would see a raised bar.  Does the 
> > > raised appearance happen because the surrounding controls use 
SWT.BORDER, 
> > > or do I need to do something in particular. 
> > > 
> > > Note:  I started with the snippet at 
> > > 
> > 
> 
 http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/dev.html 
> > > 
> > > Thanks-- 
> > > Chris 
> > > 
> 
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03737 seconds