facebook

dynamic content area height in panels

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #343824 Reply

    Hi lemorlenny,

    Could you try:

    phoneui.preprocessDOM('#m1-ListC');  

    instead:

    phoneui.preprocessDOM(list);  
    #343835 Reply

    lemorlenny
    Member

    @support-octavio wrote:

    Hi lemorlenny,

    Could you try:

    phoneui.preprocessDOM('#m1-ListC');  

    instead:

    phoneui.preprocessDOM(list);  

    Thanks for your reply Octavio, I tried but that not solve the problem, the panel height doesn’t grow when installed on device.
    I also tried to set the panel height before insert list elements or with an hardcoded height value without success.
    This is a know issue or is a my code problem?

    Regards

    #343837 Reply

    Hi lemorlenny,

    It looks more likely a code problem. Please share mobione version and model and OS of your device. Also, please send us a sample project that demonstrate the issue, you can either attach it to thread or send it to support at genuitec dot com, use title mobione data from lemorlenny

    #343844 Reply

    lemorlenny
    Member

    @support-octavio wrote:

    Hi lemorlenny,

    It looks more likely a code problem. Please share mobione version and model and OS of your device. Also, please send us a sample project that demonstrate the issue, you can either attach it to thread or send it to support at genuitec dot com, use title mobione data from lemorlenny

    I found the problem, I hope.

    the line:

    
      $('#m1-ListC-panel1-scroller').css('height', PanelH+'px !important');
    

    should be:

    
      $('#m1-ListC-panel1-scroller').attr('data-layout-content-height', PanelH);
    

    tested on:
    Android JellyBean 4.2.2
    Mobione 2.3.2(1,20130425)

    Regards

Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: dynamic content area height in panels

You must be logged in to post in the forum log in