home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1123429" data-attributes="member: 145639"><p>[USER=48495]@morpheus_xx[/USER] </p><p>I already placed a label next to the scrollbar knob. The content should show the first character of the focussed title.</p><ul> <li data-xf-list-type="ul">In first step I tried to show the complete title, but already this is not working</li> <li data-xf-list-type="ul">In next step I'd like to cut the remaining characters. Is there an option in xaml? By google search I found only examples where people coded a routine in C#, which the xaml is referring to. Since I'm not a coder, this might be to much for the moment for me <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></li> </ul><p>Here the code I tried:</p><p>[code] <!-- Knob --></p><p> <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical"></p><p> <StackPanel></p><p> <StackPanel.Height></p><p> <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0}+({1}/2)"></p><p> <TemplateBinding Path="ScrollBarYKnobPos" /></p><p> <TemplateBinding Path="ScrollBarYKnobHeight" /></p><p> </MultiBinding></p><p> </StackPanel.Height></p><p> </StackPanel></p><p></p><p> <!--Label Margin="-15,20,15,-20" Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallerFontSize}"</p><p> Content="{Binding Source={StaticResource FanArtBackgroundModel}, Path=SimpleTitle}"/-->[/code]</p><p></p><p>OtherControls.xaml already refers to xmlns:fanart="clr-namespace:MediaPortal.Extensions.UserServices.FanArtService.Client;assembly=FanArtService.Client"</p></blockquote><p></p>
[QUOTE="ge2301, post: 1123429, member: 145639"] [USER=48495]@morpheus_xx[/USER] I already placed a label next to the scrollbar knob. The content should show the first character of the focussed title. [LIST] [*]In first step I tried to show the complete title, but already this is not working [*]In next step I'd like to cut the remaining characters. Is there an option in xaml? By google search I found only examples where people coded a routine in C#, which the xaml is referring to. Since I'm not a coder, this might be to much for the moment for me ;) [/LIST] Here the code I tried: [code] <!-- Knob --> <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical"> <StackPanel> <StackPanel.Height> <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0}+({1}/2)"> <TemplateBinding Path="ScrollBarYKnobPos" /> <TemplateBinding Path="ScrollBarYKnobHeight" /> </MultiBinding> </StackPanel.Height> </StackPanel> <!--Label Margin="-15,20,15,-20" Color="{ThemeResource TextColor}" FontSize="{ThemeResource SmallerFontSize}" Content="{Binding Source={StaticResource FanArtBackgroundModel}, Path=SimpleTitle}"/-->[/code] OtherControls.xaml already refers to xmlns:fanart="clr-namespace:MediaPortal.Extensions.UserServices.FanArtService.Client;assembly=FanArtService.Client" [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom