Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[confluence] [PVR] small adjustments #9112

Closed
wants to merge 4 commits into from

Conversation

Glenn-1990
Copy link
Contributor

Some small fixes as in commit messages.

@MilhouseVH
Copy link
Contributor

Thanks, this fixes the errors reported in #9012.

@razzeee
Copy link
Member

razzeee commented Feb 11, 2016

@HitcherUK @phil65 @ronie

@phil65
Copy link
Contributor

phil65 commented Feb 11, 2016

Code looks fine to me now.

@Hitcher
Copy link
Contributor

Hitcher commented Feb 11, 2016

Cant test PVR but by the looks of the code you're trying to shift the position of a label if an icon is visible but you haven't included conditions for all the icons available (ie PVR-HasTimerScheduleError.png).

@Glenn-1990
Copy link
Contributor Author

@HitcherUK
ListItem.HasTimer returns true for all kind of timers, including ones with an error.

@Hitcher
Copy link
Contributor

Hitcher commented Feb 11, 2016

@Glenn-1990
Tested with PVR demo and the icon overlaps the start time label if you use a 12h clock.
Might be easier to drop the conditional labels and stick with the shorter of the 2 while shifting the icon more to the right like this -

<control type="image">
    <left>110</left>
    <top>7</top>
    <width>16</width>
    <height>16</height>
    <texture>$VAR[PVRTimerIcon]</texture>
</control>
<control type="label">
    <left>150</left>
    <top>0</top>
    <width>250</width>
    <height>30</height>
    <font>font12</font>
    <textcolor>grey2</textcolor>
    <selectedcolor>selected</selectedcolor>
    <align>right</align>
    <aligny>center</aligny>
    <label>$INFO[ListItem.Label]</label>
</control>

@Glenn-1990
Copy link
Contributor Author

@HitcherUK I didn't introduced this shift (only changed the textures) and I'm unable to test this atm. But I'll see what I can do about it.

@Hitcher
Copy link
Contributor

Hitcher commented Feb 11, 2016

Maybe @ronie or @phil65 have some thoughts?

@ronie
Copy link
Member

ronie commented Feb 11, 2016

@HitcherUK your suggestion looks good to me.

@Glenn-1990
Copy link
Contributor Author

@HitcherUK Can you test now? I did not use your approach as it does not look nice when not using the 12h clock (the icon seems a bit lost then).

@Hitcher
Copy link
Contributor

Hitcher commented Feb 12, 2016

Yeah, that works as well.

@ronie
Copy link
Member

ronie commented Mar 2, 2016

closing since confluence has been removed.
feel free to resubmit your changes here:
https://github.com/xbmc/skin.confluence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Skin Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants