Some custom views contain a lot of custom properties, AS TextFieldAdvanced is an example of this:
It quickly becomes a bit overwhelming to navigate all the properties. It would be nice if one therefore could specify a group in the #DesignerProperty.
Perhaps using Group like this:
Which then would make the designer show it like this (use your imagination here ):
(Which then obviously also could be simplified thanks to the grouping:
)
It quickly becomes a bit overwhelming to navigate all the properties. It would be nice if one therefore could specify a group in the #DesignerProperty.
Perhaps using Group like this:
B4X:
#DesignerProperty: Group: Info, Key: Hint, DisplayName: Hint, FieldType: Boolean, DefaultValue: True
#DesignerProperty: Group: Info, Key: HintText, DisplayName: Hint Text, FieldType: String, DefaultValue: Hint
#DesignerProperty: Group: Counter, Key: Counter, DisplayName: Counter, FieldType: Boolean, DefaultValue: False, Description: If True a counter is visible on bottom right
#DesignerProperty: Group: Counter, Key: CounterMax, DisplayName: Counter Max, FieldType: Int, DefaultValue: 20, MinRange: 0, Description: 5/10
Which then would make the designer show it like this (use your imagination here ):
B4X:
> Custom Properties
> Info
Info [x]
Info Text Informations
> Counter
Counter [x]
Counter Max 5
(Which then obviously also could be simplified thanks to the grouping:
B4X:
> Custom Properties
> Info
Enabled [x]
Text Informations
> Counter
Enabled [x]
Max 5