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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.5
    • Fix Version/s: 7.0.8, 8.0.4
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
    • Environment:

      Label inside a Grid.

    • gh.sprint.customfield.default.name:
      ZK 8.0.3 S8, ZK 8.0.3 S9, ZK 8.0.3 S10

      Description

      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,

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  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