logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
spencerm24  
#1 Posted : Sunday, February 11, 2018 4:25:35 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 249
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
I'd like a setting to be able to automatically squeeze text to fit the text box in a graphic. I have a data source with names of different lengths, and its a major pain to go in and shrink the entire text (I just want a squeeze, not a shrink!) when I select a longer name. Defeats the purpose of a data source.
doggy  
#2 Posted : Sunday, February 11, 2018 7:19:14 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,086
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
at some point even squeezing wont be enough if the text field isnt big enough.

there are various XAML tricks to make a text fit: auto font size, TextTrimming, putting textbox in a viewbox

Designing a title relates also to defining your textboxes according to their purpose and potential content with appropriate settings and have nothing to do with the datasource purpose as there are other ways to send data to the titles too.

in short , it has to be catered for within the title code not the datasource
spencerm24  
#3 Posted : Sunday, February 11, 2018 7:26:30 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 249
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
doggy wrote:
at some point even squeezing wont be enough if the text field isnt big enough.

there are various XAML tricks to make a text fit: auto font size, TextTrimming, putting textbox in a viewbox

Designing a title relates also to defining your textboxes according to their purpose and potential content with appropriate settings and have nothing to do with the datasource purpose as there are other ways to send data to the titles too.

in short , it has to be catered for within the title code not the datasource


I'm not sure I follow, I shouldn't have to make a separate graphic for all longer names, if I make the graphic to fit the longset possible name (there will always be one longer too) it looks awkward for the short names. Big name CG's have auto text fitting, it would be a simple checkbox to squeeze to fit if it goes longer. sure it could look awkward, but like you said, a decently designed title would make it doable, but those names that are 2 characters too long, a squeeze would be fine.

the vMix title designer creates XAML, this is where I'd like to see the option, not the data source.
spencerm24  
#4 Posted : Sunday, February 11, 2018 7:43:09 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 249
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
Maybe an example might help, in this example, to design the graphic to fit ALL possible names it would be extremely large, but squeezing this one name slightly to fit looks just fine, and is done commonly on templated graphics where you get a name thats a bit too long.
spencerm24 attached the following image(s):
FS1.jpg (1,715kb) downloaded 27 time(s).

You cannot view/download attachments. Try to login or register.
doggy  
#5 Posted : Sunday, February 11, 2018 8:14:05 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,086
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
looks imo like its rather reduced a little is fontsize rather than squeezed

I had a similar problem and truncating or bulletting the cutoff didnt look nice so in my title i have the TextBlock within a viewbox to achieve the desired effect (making a name fit)

Code:


<Viewbox StretchDirection="DownOnly" Width="485" HorizontalAlignment="Left" Margin="129,23.5,0,21.5" Height="70" >
                <TextBlock x:Name="Name"  Text="" Foreground="#FFFFFDFD" FontFamily="Novecento sans wide DemiBold" FontSize="53.333"  >
                    <TextBlock.Effect>
                        <DropShadowEffect/>
                    </TextBlock.Effect>
                </TextBlock>
</Viewbox>



spencerm24  
#6 Posted : Sunday, February 11, 2018 8:23:15 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 249
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
doggy wrote:
looks imo like its rather reduced a little is fontsize rather than squeezed

I had a similar problem and truncating or bulletting the cutoff didnt look nice so in my title i have the TextBlock within a viewbox to achieve the desired effect (making a name fit)

Code:


<Viewbox StretchDirection="DownOnly" Width="485" HorizontalAlignment="Left" Margin="129,23.5,0,21.5" Height="70" >
                <TextBlock x:Name="Name"  Text="" Foreground="#FFFFFDFD" FontFamily="Novecento sans wide DemiBold" FontSize="53.333"  >
                    <TextBlock.Effect>
                        <DropShadowEffect/>
                    </TextBlock.Effect>
                </TextBlock>
</Viewbox>






I'm not familiar with that XAML editing, hence why putting it as an option in the title tool is my feature request, not much of a coder.
spencerm24  
#7 Posted : Sunday, February 11, 2018 8:24:21 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 249
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
even still, even if it did make it a smaller text, I'd like it to do it automatically, sometimes players have long names and in the middle of a game, its hard to do in and shrink the text manually.
Users browsing this topic
Guest
Similar Topics
Auto squeeze text - GT title designer (Feature Requests)
by Hylkewolf 1/11/2021 8:15:43 PM(UTC)
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.