layout question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

layout question

wernerk
Hi,
similarly to the example in http://book.pharo-project.org i do this:

win := StandardWindow new.
panel:=win newRow: {win newOKButton. } .
y :=(panel minExtent y).
win addMorph: panel
        fullFrame: (LayoutFrame
          fractions: (0@1 corner: 1@1)
          offsets: (0@(0-y) corner:  0@0)).
win openInWorld .

but the okbutton is not completely visible. how do i calc y correctly?
werner

Reply | Threaded
Open this post in threaded view
|

Re: layout question

wernerk
i guess i should mention that i use a tiny netbook, since the effect is
probably resolution-dependent and perhaps is not visible on a big screen.
werner