Opened 17 years ago
Closed 16 years ago
#3570 closed defect (fixed)
libmythui: allow horizlistbuttonlist to inherit a buttonlist xml definition. causes a crash for me.
Reported by: | skamithi | Owned by: | stuartm |
---|---|---|---|
Priority: | trivial | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
If I define the following:
<buttonlist name="commonelements"> <margin>10</margin> </buttonlist> <horizontalbuttonlist name="ok_cancel_buttons" from="commonelements"> <area>50,500,500,100</area> <items>2</items> </horizontalbuttonlist>
..it crashes. if I specify commonelement tag as a horiztontalbuttonlist, it works.
patch attach to resolve this for me.
Attachments (1)
Change History (4)
Changed 17 years ago by
Attachment: | allow_horizbuttonlist_to_use_buttonlist_xml_tag.diff added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from Isaac Richards to stuartm |
---|---|
Priority: | minor → trivial |
Severity: | medium → low |
Status: | new → assigned |
Version: | unknown → head |
comment:2 Changed 16 years ago by
Status: | assigned → accepted |
---|
Note: See
TracTickets for help on using
tickets.
Just so you know what I intend to do with this issue, I want to combine the horizontal button list with the vertical one which solves the issue of inheritance and gives us a more flexible widget. I also plan a grid layout.
e.g.
</buttonlist>
<buttonlist name="ok_cancel_buttons" from="commonelements">
</buttonlist>
This would give us huge flexibility when theming. The buttonlist widget could then be used to replace the listarea widget, the main menus, the popup menus, the mythvideo/mythgallery gallery widget and with some imagination and transition effect it would permit apple style albumart browsing.