[CLOSED] Image and layout

  1. #1

    [CLOSED] Image and layout

    I have an image control with src set to a WebAPI call that dynamically generates the image. Issue is that the image takes up to 1s to load and after the image is loaded, the panel containing the image doesn't resize to show the image. Only the top few pixels are shown.
    Last edited by Daniil; Jul 14, 2015 at 5:13 PM. Reason: [CLOSED]
  2. #2
    Hello @jchau!

    You can use the parent communication once the image size is known by the controller, and set the outside panel's size accordingly.

    If its still not clear how to do this, we could better aid you if you provide us a simple and working test case of the scenario you're trying to build.

    An example about child+parent communication is in this example: IFrame Communicaton.

    I hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 1
    Last Post: Apr 14, 2015, 9:18 AM
  2. Replies: 1
    Last Post: Jul 30, 2014, 6:12 AM
  3. Replies: 1
    Last Post: May 16, 2012, 12:57 PM
  4. vbox layout is not working on image button
    By robertgan in forum 1.x Help
    Replies: 1
    Last Post: Feb 27, 2012, 9:17 AM
  5. Replies: 3
    Last Post: Nov 06, 2009, 10:46 AM

Posting Permissions