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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 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
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 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>
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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