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

hflex fails when combining hbox and templating

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.3
    • 7.0.2
    • Components
    • Security Level: Jimmy
    • None

      main_reprod_unrolled.zul

      • shows that the layout is working and the window resizes proper to use up the available space as indicated by hflex="1" on the surrounding hbox and window -> OK

      main_reprod.zul
      composing the same layout with a template the hbox fails to propagate the calculated hflex width to the window and it remains at the minimum size required to display the div inside of it

      the difference between the generated markup can be seen in this screencast: http://screencast.com/t/1lPW7oawZ

      (workaround: if possible - replacing the <hbox> with an <hlayout> does not have this issue, that the results are different between the template and non template version)

        1. template_reprod.zul
          0.4 kB
        2. main_reprod.zul
          0.3 kB
        3. main_reprod_unrolled.zul
          0.8 kB

            jumperchen jumperchen
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: