- Posts: 228
- Thank you received: 16
3 Post Moderation Rule for New Boarders (25 Jan 2021)
New boarders will have their posts moderated - Don't worry if you cannot see your post immediately.
Width of a box and align width
26 Jan 2018 10:23 - 26 Jan 2018 10:26 #93714
by Schnurr
Width of a box and align width was created by Schnurr
Hi,
a basic question doesn't work the align function for groups ?
I have to text elements text1 and text2 with different text width and put them into one group (both players). In order to fit the size of a box to the max width I thought that I could use the align function in order to determine the width of that group. But doesn't work. Any idea?
Sorry cant add a pic as attachment doesn't work with 2750x866 width and 85KB/jpg
a basic question doesn't work the align function for groups ?
I have to text elements text1 and text2 with different text width and put them into one group (both players). In order to fit the size of a box to the max width I thought that I could use the align function in order to determine the width of that group. But doesn't work. Any idea?
Sorry cant add a pic as attachment doesn't work with 2750x866 width and 85KB/jpg
Last edit: 26 Jan 2018 10:26 by Schnurr.
Please Log in to join the conversation.
- Karsten Schlüter
-
- Offline
- Moderator
-
Less
More
- Posts: 3790
- Thank you received: 718
26 Jan 2018 11:17 #93715
by Karsten Schlüter
Replied by Karsten Schlüter on topic Width of a box and align width
Please Log in to join the conversation.
26 Jan 2018 13:27 #93717
by Schnurr
Replied by Schnurr on topic Width of a box and align width
Please Log in to join the conversation.
- Karsten Schlüter
-
- Offline
- Moderator
-
Less
More
- Posts: 3790
- Thank you received: 718
26 Jan 2018 16:08 #93718
by Karsten Schlüter
Replied by Karsten Schlüter on topic Width of a box and align width
ok, not easy to 'read' your projects 
so, my rebuild does like that:
there's a logo, there's Goals in a while box and two players names. You like to auto adjust the White Box by length of longest name…
ok easy, link the x-Scale of the White Box to the Width of the Group which contains the names.
Have an eye on Anchor points of groups, rectangles, text and text-orientation (left aligned)
Which gives …
on any longer name a longer box.
What I , again and you know from our PMs I'm stubborn on that topic, do NOT do, is the need of an AlignTo Behavior: to move the whole stuff around, simply group it:
… how's that?
Attached my project file for further investigation …
so, my rebuild does like that:
there's a logo, there's Goals in a while box and two players names. You like to auto adjust the White Box by length of longest name…
ok easy, link the x-Scale of the White Box to the Width of the Group which contains the names.
Have an eye on Anchor points of groups, rectangles, text and text-orientation (left aligned)
Which gives …
on any longer name a longer box.
What I , again and you know from our PMs I'm stubborn on that topic, do NOT do, is the need of an AlignTo Behavior: to move the whole stuff around, simply group it:
… how's that?
Attached my project file for further investigation …
Please Log in to join the conversation.
- Karsten Schlüter
-
- Offline
- Moderator
-
Less
More
- Posts: 3790
- Thank you received: 718
26 Jan 2018 16:22 - 26 Jan 2018 16:23 #93719
by Karsten Schlüter
Replied by Karsten Schlüter on topic Width of a box and align width
Last edit: 26 Jan 2018 16:23 by Karsten Schlüter.
Please Log in to join the conversation.
- Karsten Schlüter
-
- Offline
- Moderator
-
Less
More
- Posts: 3790
- Thank you received: 718
26 Jan 2018 17:34 - 26 Jan 2018 17:36 #93721
by Karsten Schlüter
Replied by Karsten Schlüter on topic Width of a box and align width
Last edit: 26 Jan 2018 17:36 by Karsten Schlüter.
Please Log in to join the conversation.
- Karsten Schlüter
-
- Offline
- Moderator
-
Less
More
- Posts: 3790
- Thank you received: 718
30 Jan 2018 07:20 #93775
by Karsten Schlüter
Replied by Karsten Schlüter on topic Width of a box and align width
@ Tobi
got your project by PM… did some tests, gave a lengthy reply
in short:
my assumption is, due to 'nesting' groups within groups (what I love to call matryoshkaing ) somehow, some way the Timing of an element (or parameter - which has no visible 'timing' in the Inspector ??) doesn't refer to the Projects 00:00:00 but to the 'master'-group's bin (??)…
… a topic for further investigations of Mastermind fox_mahoney?… not only 'local geometry' (reason for that puzzling '0.5' in OSCs) , but perhaps 'local timing' too??
Your project is … complex. Aside a from-the-ground-new restructuring (aka simplifying)… What fixes the '75 frames too late' is creating a clone of your reference (Both players) and use THAT to link to the x-scale…
got your project by PM… did some tests, gave a lengthy reply
in short:
my assumption is, due to 'nesting' groups within groups (what I love to call matryoshkaing ) somehow, some way the Timing of an element (or parameter - which has no visible 'timing' in the Inspector ??) doesn't refer to the Projects 00:00:00 but to the 'master'-group's bin (??)…
… a topic for further investigations of Mastermind fox_mahoney?… not only 'local geometry' (reason for that puzzling '0.5' in OSCs) , but perhaps 'local timing' too??
Your project is … complex. Aside a from-the-ground-new restructuring (aka simplifying)… What fixes the '75 frames too late' is creating a clone of your reference (Both players) and use THAT to link to the x-scale…
Please Log in to join the conversation.
30 Jan 2018 15:21 #93784
by Schnurr
Replied by Schnurr on topic Width of a box and align width
Thanks again Karsten,
for looking into that but I had more complex ones and 2-3 subgroups should be manageable by M5.4. Well just created it from the scratch 2 Text elements and 4-5 subgroups works all fine.
No idea but you concept to create a clone solves the issue but doesn't lead to lean development
) Anyhow Tx again MasterMind
for looking into that but I had more complex ones and 2-3 subgroups should be manageable by M5.4. Well just created it from the scratch 2 Text elements and 4-5 subgroups works all fine.
No idea but you concept to create a clone solves the issue but doesn't lead to lean development
Please Log in to join the conversation.

