Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11821 closed Bug Report - General (fixed)

The program guide grid text no longer align's vertically properly.

Reported by: harley@… Owned by: Jim Stichnoth
Priority: blocker Milestone: 0.27
Component: MythTV - User Interface Library Version: Master Head
Severity: high Keywords:
Cc: Ticket locked: no

Description

The guide grid text no longer align's vertically in each row it start's down about one third the way. If you have more than one line of text it ends up cutting off part of the next row unless you use really small text. You are unable to correct the problem with the text offset option.

<guidegrid name="guidegrid">

<area>240,83,1015,366</area> <layout>horizontal</layout> <channels>6</channels> <timeslots>5</timeslots> <solidcolor>#003256</solidcolor> <selector type="roundbox" linecolor="#d6d6d6" /> <showcategories>yes</showcategories> <categoryalpha>130</categoryalpha> <recordingcolor>#00aa00</recordingcolor> <conflictingcolor>#ff6600</conflictingcolor> <cutdown>no</cutdown> <multiline>yes</multiline> <textoffset>6,7</textoffset>

Right now the only choice as a themer is to use only one line are really small text.

This was working until recently I know it was still working back on 8/24.

I have checked this in my own theme TintedGlass? and also Mythbuntu and Blue Abstract. On both TintedGlass? and Mythbuntu the second line gets cut off on Blue Abstract it shows both lines because it uses smaller text but even then the text is no where near centered.

Change History (4)

comment:2 Changed 11 years ago by Jim Stichnoth

Component: MythTV - GeneralMythTV - User Interface Library
Milestone: unknown0.27
Owner: set to Jim Stichnoth
Priority: minorblocker
Severity: mediumhigh
Status: newaccepted

I thought that MythPainter::DrawTextPriv?() was currently only used for caption text. I will take a closer look. Thanks for tracking down the commit.

comment:3 Changed 11 years ago by Jim Stichnoth <jstichnoth@…>

Resolution: fixed
Status: acceptedclosed

In b70d301965c8d458357e50e21fd26658b024bce1/mythtv:

Don't necessarily vertically center MythUISimpleText.

Otherwise guidegrid text is inappropriately vertically centered.
Fixes #11821.

comment:4 Changed 11 years ago by Jim Stichnoth <jstichnoth@…>

In ac841f0228b596bcfbef50817b0d6f4c27d26ded/mythtv:

Don't necessarily vertically center MythUISimpleText.

Otherwise guidegrid text is inappropriately vertically centered.
Fixes #11821.
(cherry picked from commit b70d301965c8d458357e50e21fd26658b024bce1)

Note: See TracTickets for help on using tickets.