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

auto fitting doesn't work in Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.5.8.1
    • None
    • None
    • Android

      Steps to Reproduce

      <zk>
          Grid:
          <separator />
          <grid>
              <columns sizable="true">
                  <column label="aaa"/>
                  <column label="bbbb bbbb"/>
                  <column label="ccccccc ccc"/>
                  <column label="dddd"/>
              </columns>
              <rows>
                  <row>
                      <label value="CLICK here to shorten label" onClick='self.setValue("SHORT")' />
                      <label value="value B" />
                      <label value="value C" />
                      <label value="value D" />
                  </row>
                  <row>
                      <label value="value A" />
                      <label value="value B" />
                      <label value="value C" />
                      <label value="value D" />
                  </row>
              </rows>
          </grid>
          <separator />
          Listbox:
          <separator />
         <listbox>
            <listhead sizable="true">
               <listheader label="aaa"/>
               <listheader label="bbbb bbbb"/>
               <listheader label="ccccccc ccc"/>
               <listheader label="dddd"/>
            </listhead>
            <listitem>
               <listcell label="CLICK here to shorten label" onClick='self.setLabel("SHORT")'/>
               <listcell label="value B"/>
               <listcell label="value C"/>
               <listcell label="value D"/>
            </listitem>
            <listitem>
               <listcell label="value A"/>
               <listcell label="value B"/>
               <listcell label="value C"/>
               <listcell label="value D"/>
            </listitem>
         </listbox>
          <separator />
          Listbox:
          <separator />
          <tree>
              <treecols sizable="true">
                  <treecol label="aaa"/>
                  <treecol label="bbbb bbbb"/>
                  <treecol label="ccccccc ccc"/>
                  <treecol label="dddd"/>
              </treecols>
              <treechildren>
                  <treeitem>
                      <treerow>
                          <treecell label="2. CLICK here to shorten label" onClick='self.setLabel("SHORT")'/>
                          <treecell label="value B"/>
                          <treecell label="value C"/>
                          <treecell label="value D"/>
                      </treerow>
                      <treechildren>
                          <treeitem>
                              <treerow>
                                  <treecell label="value A"/>
                                  <treecell label="value B"/>
                                  <treecell label="value C"/>
                                  <treecell label="value D"/>
                              </treerow>
                          </treeitem>
                      </treechildren>
                  </treeitem>
              </treechildren>
          </tree>
      </zk>
      

      Double click the border between column "aaa" and "bbbb bbbb" to do the auto fitting.

       

      Current Result

      auto fitting is working.

      Expected Result

      auto fitting doesn't working.

      Debug Information

       

      Workaround

       

            Unassigned Unassigned
            katherinelin katherinelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: