vMix Forums
»
General
»
GT
»
Resize Rectangle - Possible?
Rank: Member
Groups: Registered
Joined: 3/26/2020(UTC) Posts: 23 Thanks: 4 times Was thanked: 3 time(s) in 3 post(s)
|
Is it possible to auto-resize a rectangle, based on the above text box width?
Lets say I have a lower third GT file that has simply a TextBlock1 above a Rectangle1. The Text is set to automatically resize Width. Is it possible to stretch the underlying Rectangle1 so that if there is a small amount of text, the rectangle would autosize and be narrower vs if there was a lot of text and the Rectangle gets wider automagically?
I know Expression has this functionality quite easily.
Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,209 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: tcconway Is it possible to auto-resize a rectangle, based on the above text box width . Yes
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 3/26/2020(UTC) Posts: 23 Thanks: 4 times Was thanked: 3 time(s) in 3 post(s)
|
Is it possible to have two TextBlocks do this as well: For example TextBlock1 = "First Lastname" and TextBlock = "@twitterhandle" and have them "on the same line" so that if the name is long, it pushes the @twitterhandle to the right?
Thanks again!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,209 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: tcconway Is it possible to have two TextBlocks do this as well: For example TextBlock1 = "First Lastname" and TextBlock = "@twitterhandle" and have them "on the same line" so that if the name is long, it pushes the @twitterhandle to the right?
Thanks again! What have you tried ? Not with GT titles but with legacy XAML (WPF) titles you might
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2014(UTC) Posts: 1,837 Location: Stockholm
Thanks: 144 times Was thanked: 297 time(s) in 250 post(s)
|
|
1 user thanked richardgatarski for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 3/26/2020(UTC) Posts: 23 Thanks: 4 times Was thanked: 3 time(s) in 3 post(s)
|
Is it possible to do this with right-aligned text? Whenever I set the textbox to "width", it then forces left-aligned text.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,209 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: tcconway Is it possible to do this with right-aligned text? Whenever I set the textbox to "width", it then forces left-aligned text. Answer included in your question => No
|
|
|
|
vMix Forums
»
General
»
GT
»
Resize Rectangle - Possible?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close