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

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 which groupStyle to pick, it won’t pick any and give this error. The error should state something along the lines: "Multiple definitions for groupStyle, did you mean mobl::ui::generic::groupStyle or yourmodule::groupStyle. You can fix it by prefixing it specifically. So if you definegroupStylein modulemain, you can refer to it asmain::groupStyle`.

On 28 March 2011 at 15:05 Terje Pedersen commented:

+1 for the improved error message

On 11 April 2011 at 15:23 Zef Hemel tagged @zefhemel

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.

On 11 April 2011 at 16:48 Zef Hemel tagged 0.4.3

On 11 April 2011 at 16:49 Zef Hemel removed tag @zefhemel

Log in to post comments