Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] How to make a nonextensible root figure?


It depends on what type of layer you are using.  If it is a normal Layer, set it's preferredSize, not min/max.
Use the newsgroup for these types of questions.
Thanks,
Randy


"Mairesse, Fabien" <fabien.mairesse@xxxxxxxxx>
Sent by: gef-dev-admin@xxxxxxxxxxx

08/17/2004 04:48 AM
Please respond to gef-dev

       
        To:        "'gef-dev@xxxxxxxxxxx'" <gef-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [gef-dev] How to make a nonextensible root figure?



Hello,
I want to specify the size of my diagram and to allow the edition of this size (via properties). So I put a Layer with XYLayout as root figure and set its bounds. When I launch my editor, the size of my diagram is not correct and my diagram has no bounds. Then I edit its size and my diagram's bounds are correctly set. But as soon as I click on my diagram, it is extended and covers the whole surface of my viewer. I tried to set minimum and maximum size of the root figure it doesn't work and I can't change the bounds of the diagram anymore.

Does anyone know a way to specify a nonextensible root figure but nevertheless manually resizable?

Thanks in advance.
Fabien Mairesse


Back to the top