Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!EU.net!uknet!festival!olly
From: olly@festival.ed.ac.uk (O Morgan)
Subject: Graph pane with no Scrollbars
X-Newsreader: TIN [version 1.1 PL8]
Message-ID: <D5Dnxy.K2D@festival.ed.ac.uk>
Organization: Edinburgh University
Date: Mon, 13 Mar 1995 11:58:42 GMT
Lines: 22

I'm working with Digitalk Smalltalk V (for Windows).  

I need to plot graphs, so I have a single windows containing a
GraphPane.  However, the pane always comes up with Scrollbars and the
actual size of the window exceeds the visible part.  How can I specify
that the window should display the entire window space in its entirety?
Eg: if I want to plot on a 300x300 pixel windows, then the subpane
should be 300x300. 

I've played with the 'framingBlock:' and 'framingRatio:' methods with no
success.  The 'style:' method does look promising.  I've tried
noScrollBarsFrameStyle though this only succeeded in removing the scroll
bars, not in adapting the overall window size to the display area. Is
there a 'style:' parameter I could use for this?

Are there Smalltalk methods can I use to control the overall area of the
Windows, without having to start getting involved with SDKstuff?

Thanks in advance

Olly

