Opened 10 years ago
Closed 8 years ago
#1098 closed defect/bug (fixed)
relative positon (eg x=30%) of osd icons not working
Reported by: | ah be | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | version 0.5.1 |
Component: | core | Version: | git master |
Severity: | normal | Keywords: | osd, layout, display |
Cc: | sebastian.leske@… |
Description (last modified by usul)
hi,
I tried the following code to make the osd more portable:
<osd enabled="yes" type="button" x="20%" y="80%" command="gui.quit()" src="gui_quit_48_48.png"/>
but instead of having the quit icon at 20% of the screen from the left and 80% of the screen from the top
it just sits in topleft corner... any ideas what went wrong or is this a bug?
best regards
robin
Change History (5)
comment:1 Changed 10 years ago by sleske
comment:2 Changed 10 years ago by sleske
- Cc sebastian.leske@… added
comment:3 Changed 10 years ago by usul
- Description modified (diff)
- Keywords osd layout display added
- Milestone set to version 0.5.1
Somewhat a dupe ticket, but will schedule it for next hotfix, too.
comment:4 Changed 8 years ago by mvglasow (2)
- Severity set to normal
See #983 for a patch, which will fix both issues.
comment:5 Changed 8 years ago by mvglasow (2)
- Resolution set to fixed
- Status changed from new to closed
Fixed in r5901.
Note: See
TracTickets for help on using
tickets.
Using relative positions for OSD elements is rather buggy. See #983 for a similar problem.