Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2781

[GRID] Label having different color if they are in a cell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.8, 8.0.4
    • 7.0.5
    • None
    • Security Level: Jimmy
    • Label inside a Grid.

    • ZK 8.0.3 S8, ZK 8.0.3 S9, ZK 8.0.3 S10
    • None

      Greetings,

      I'm using Grid to format some of my forms.
      I have a label that is displayed in a cell so i can have it take 2 columns with colspan="2".
      But it doesn't have the same color as label not in a cell.

      <rows>
             <row>
                    <label value="label no cell" />
                    <cell colspan="2" class="z-row-content">
                           <label value="label in a cell" />
                    </cell>
      

      The code generated will be :

      <td id="label_163-chdextr" style="text-align:right;" class="z-row-inner">
             <div id="label_163-cell" class="z-row-content">
                    <span id="label_163" class="z-label">Offre</span>
             </div>
      </td>
      <td class="z-cell" colspan="2" id="cell_172">
             <span id="label_173" class="z-label">Date d'association</span>
      </td>
      

      The problem I've is the class z-row-content add the following style :

          color: #636363;
          font-family: Arial,sans-serif;
          font-size: 12px;
          line-height: 24px;
          overflow: hidden;
          padding: 4px 5px;
      

      And the color difference is really noticeable, the label inside the cell has the basic, blackier color.

      Regards,

            wenninghsu wenninghsu
            WilliamBakker WilliamBakker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 hour Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 10 minutes
                2h 10m