Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WidgetListRow derives from Image, but init calls AWindow.init instead of Image #7

Open
sketchycode opened this issue Dec 23, 2012 · 0 comments

Comments

@sketchycode
Copy link

Line 51 of widgetlist.lua, I believe you intend a row to derive from Image. But on line 518 (the WidgetListRow init() method) you call AWindow's init, as opposed to Image. This leaves some of row's image-based properties uninitialized.

I found it when trying to use different images for row's background image. It's a quick fix (modify line 518 to call image.Image.init(self, gui)), just thought you'd like to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant