groupStyle used as style
Defining “style groupStyle” gives an error “variable not defined” for style parameter in label. Calling it gStyle, grouStyle works.
Submitted by Terje Pedersen on 28 March 2011 at 13:59
Issue Log
On 28 March 2011 at 15:04 Zef Hemel commented:
Yes, that’s because there’s already a
mobl::generic::groupStyle
style, currently if mobl cannot decide whichgroupStyle
to pick, it won’t pick any and give this error. The error should state something along the lines: "Multiple definitions forgroupStyle
, did you mean mobl::ui::generic::groupStyle or yourmodule::groupStyle. You can fix it by prefixing it specifically. So if you define
groupStylein module
main, you can refer to it as
main::groupStyle`.
On 28 March 2011 at 15:05 Terje Pedersen commented:
+1 for the improved error message
On 11 April 2011 at 16:47 Zef Hemel commented:
0.4.3 will have a better error message for these types of errors.
On 11 April 2011 at 16:47 Zef Hemel closed this issue.
Log in to post comments