2019-07-26, 15:21
(2019-07-26, 00:37)bsoriano Wrote: @edjalmo , @Cyberdom , I have added the option to display the fanart title in the Top Bar or in a frame below. In Amber Settings, Backgrounds there is a new option "Place Background Name in Top Bar". Set this to Yes for the title to appear in the Top Bar. The changes are only in the Leia branch of the skin's GitHub repo. I will not put in the Amber repo until the feature is finalized. Please download from Git, test, and provide me with your feedback. Thanks.Thanks!
@edjalmo , I tried a lot to get the button to have the background image be dynamic according to the width of the title, but I could not get this to look all right; longer names would always stretch beyond the background image. Thus, I used a fixed width background image, that I know does not look the best. The color of the image and of the text might not be what you had envisioned, and the size and position either. All of those can be changed, feel free to provide your suggestions (if possible, send me specific colors in Kodi format, sizes and positions).
Just so that you are aware, I did not find how to change make the font bold if the button is focused vs. not focused, or how to change the font size when the button is focused vs. not focused. My compromise was to make the button label color the highlight color when the button is focused.
Regards,
Bart
I see!
Yeah, fixed width for background image frame don't look good. I have an ideia to fix the dinamic thing you said, don't know if is possible to make.
I remember you saying that <auto> is possible is some places. Is not possible to create a container, or group (I don't know the nomeclature) and put backgroud text inside?
Is something like that
The min and max is just for text not touch the frame (like you already do).xml:
<main group>
<the frame image>
<height min="X" max="X" >xxx</height>
<width min="X" max="X">auto</width>
<background text group>
<height>xxx</height>
<width>auto</width>
<variable>text</variable>
</background text group>
</main group>
Assuming this is possible, this way movies with big sizes titles will have a big size frame and don't look so good. A possible solution for this is increase frame height in this cases, so
I hope I made myself undestand.xml:
<main group>
<height>2 (space of two lines)</height>
<width min="X" max="X">auto</width>
<second group>
<the frame image>
<height min="X" max="X">auto</height>
<width min="X" max="X">auto</width>
<background text group>
<height>xxx</height>
<width>auto</width>
<variable>text</variable>
</background text group>
</second group>
</main group>
My idea is jut to put it in bold, not change it when select, so this is good to me.
I think color and fount could be the same of the menu (movies, tv shows...), and I think it's already.
About the font: first I thinked it is small, but then I changed it for top bar and I saw that both have the same size (I think), so I think the font in frame look small because the frame height is small. I think the best frame height size is something close to height size of top bar.
In both places move the text just a little to the right so it doesn't get too close to the wall.