I want to display some labels (label - value pairs) aligned in two colomns using a group with gridlayout:
Two questions:
Code:
<control>
<type>group</type>
<description>group element</description>
<layout>GridLayout(2, 0, 200, 30)</layout>
<posX>500</posX>
<posY>200</posY>
<!-- label - value pair 1 -->
<control>
<description>label 1</description>
<type>label</type>
<id>11</id>
<label>Label 1:</label>
</control>
<control>
<description>value 1</description>
<type>label</type>
<id>12</id>
<label>Value 1</label>
</control>
<!-- label - value pair 2 -->
...
<!-- label - value pair n -->
...
</control>
Two questions:
- Displaying the labels works well, but the color of the labels is kind of transparent and cannot be changed. Is this a feature of the group control? How can I set the label color?
- Finding out the correct parameters for the grid layout was some hard work (try and error). Is there a overview of the parameters?
Germany