Hi
I've been playing with GOP:s a bit lately, and found two things:
If you are making a small ui, like a small reusable volume control, it can be hard to resize the child patch. Then you might consider to make the window larger, and spread out the objects in a relative position to each other. in the GOP, they will keep the same relative position.
When doing the final positioning of the ui objects, it makes things easier if you have two instances of the patch in the parent window. You edit one (which gets greyed out) and watch the changes in the other one when saving.
hope this helps. Johannes
Frank Barknecht wrote:
Hallo, moritz seiler hat gesagt: // moritz seiler wrote:
when i make a abstraction and make the gui visible on parent patch, i dont know to handle with the size and the proportion...? i know that i can place the size in the patch,but i cannot save it for the abstraction..
I do this in the following way:
use a [cnv] object as a background,
Put all you want to see on top of the background [cnv]
remember its dimensions as x and y.
Set "Graph On Parent" to true.
resize the abstraction, so that only the bg-cnv plus about 15 pixel above it are visible. The empty space above is for the abstraction name.
save, close, File->New, put: [your_gop_abs]
Right-click [your_gop_abs], edit Properties: Set width to: x (from above) + 2 pixels Set height to: y (from above) + 15 pixels. Save properties.
Right-click again and Open your [your_gop_abs]
SAVE it! Yes, again! This is important, as the resizing done in the parent patch in step 7) is not saved yet in the child abstraction.
you migtht need to fiddle a bit with the positions of graphical objects.
That's it.
Ciao