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

Detail component should not initial the width (18px) by default, if the theme is not in classic-blue

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.7.1
    • Fix Version/s: 5.0.8
    • Component/s: Components
    • Labels:
      None

      Description

      For example in Detail.java

      public Detail() {
      setWidth("18px");
      }

      It should not assume the width of the icon to be 18px, for example, in breeze the width is greater than 18px.
      To fix it is to use a Javascript function to return the width of the component, and override it when using different theme. (but we may ignore the returned width, if component's width has specified)

        Activity

        Hide
        SimonPai SimonPai added a comment -

        Fixed since 2011/8/11.

        Show
        SimonPai SimonPai added a comment - Fixed since 2011/8/11.

          People

          • Assignee:
            benbai benbai
            Reporter:
            jumperchen jumperchen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: