Help on group/gridlayout (1 Viewer)

michael_t

Portal Pro
November 30, 2008
1,258
813
Home Country
Germany Germany
I want to display some labels (label - value pairs) aligned in two colomns using a group with gridlayout:

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:
  1. 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?
  2. Finding out the correct parameters for the grid layout was some hard work (try and error). Is there a overview of the parameters?
Michael
 

Users who are viewing this thread

Top Bottom