You just need to override the method #initialExtent It should return a point structured like this: width@height
:) Ben On 06 Nov 2013, at 01:50, nacho <0800na...@gmail.com> wrote: > Continuing with my testing to learn Spec, I'm trying to build a really basic > calculator. > So far I managed to build the basic UI. However, I'm having some trouble at > getting it displayed at the correct size. I don't know how to change the > window that is opened when #ClassName new openWithSpec > It seems that all the examples are opened with the same size. > The image on the left is the "default" one, the one on the right is what I > would like to get. > I've tried by changing the width: of the column but that doesn't change the > size of the window. > I'm kind of stuck! > > thanks > cheers > Nacho > <http://forum.world.st/file/n4719478/calc.jpg> > > > > ----- > Nacho > Smalltalker apprentice. > Buenos Aires, Argentina. > -- > View this message in context: > http://forum.world.st/Adjusting-the-size-of-a-window-using-Spec-tp4719478.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >