Opened 6 years ago

Closed 22 months ago

#11640 closed Bug Report - General (Won't Fix)

MythUI progressbar doesn't follow defined size

Reported by: JYA Owned by: stuartm
Priority: minor Milestone: 0.27.7
Component: MythTV - User Interface Library Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I first posted in the theme user list, but I'm now convinced it's a bug...

Example:

I have a progress bar like so:

<progressbar name="progress" from="baseprogressbar">

<area>170,140,100%-20,20</area> <layout>horizontal</layout> <style>reveal</style>

</progressbar>

It really makes no difference to which width I provide. Here I have 100%-20, but I could have 10 for all I care and the appearance stay the same . The width always appear to be the one of the ancestor and not the one define. Only the position is being used when defined.

If the widget doesn't inherit from another, then the size extracted from the defined area is used.

Problem is that if I make my window smaller, then the progress bar sticks out of it. I can't make it fit within the parent window; I have to define the parent window size to make the scroll bar fit.

Change History (4)

comment:1 Changed 6 years ago by stuartm

Status: newaccepted
Version: UnspecifiedMaster Head

Can you try the following patch? http://pastebin.com/8neHWUFR

comment:2 Changed 4 years ago by Stuart Auchterlonie

Milestone: 0.270.27.6

comment:3 Changed 4 years ago by Karl Egly

Milestone: 0.27.60.27.7

Reschedule all tickets planned for, but not solved in time for, 0.27.6 to 0.27.7.

comment:4 Changed 22 months ago by Stuart Auchterlonie

Resolution: Won't Fix
Status: acceptedclosed

Closing any remaining open tickets for 0.27

If the issue still persists, feel free to reopen and align to a current release (v29 or master)

Note: See TracTickets for help on using tickets.