Opened 14 years ago

Closed 14 years ago

#7965 closed enhancement (fixed)

MythUI: allow negative width/height to indicate an offset from the right/bottom

Reported by: jppoet@… Owned by: stuartm
Priority: minor Milestone: 0.23
Component: MythTV - User Interface Library Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Add the ability to specify an area with a negative width and/or height, indicating that the area size is offset from the right and/or bottom border (respectively).

Attachments (2)

MythUI-negative.patch (786 bytes) - added by jppoet@… 14 years ago.
Allow negative width/height to indicate offset from right/bottom.
MythUI-negative-v2.patch (672 bytes) - added by jppoet@… 14 years ago.
Take into account parent's offset

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by jppoet@…

Attachment: MythUI-negative.patch added

Allow negative width/height to indicate offset from right/bottom.

comment:1 Changed 14 years ago by stuartm

Status: newaccepted

Changed 14 years ago by jppoet@…

Attachment: MythUI-negative-v2.patch added

Take into account parent's offset

comment:2 Changed 14 years ago by jppoet@…

As Stuart pointed out, original patch did not take into account the parent's offset. New patch fixes that.

comment:3 Changed 14 years ago by stuartm

Milestone: unknown0.23
Version: unknownhead

comment:4 Changed 14 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [23422]) In themes, allow negative width/height to indicate an offset from the right/bottom. Patch by John Poet, Closes #7965

Note: See TracTickets for help on using tickets.