Problems with Resizing CuteChat Contact list

Last post 09-08-2006, 3:14 AM by knoepdan. 2 replies.
Sort Posts: Previous Next
  •  09-07-2006, 7:29 AM 22478

    Problems with Resizing CuteChat Contact list

     
     
    Hi all
     
    We have integrated the latest CuteChat (version 3.1 for .NET 2.0) in our existing application and therefore had to adapt the look and feel quite a bit. Now it all works well except that there is a problem when resizing the frame in which we have placed the adapted CuteChat contact list.
     
    The Contact list should fill the frame in which it is placed. However this does not always work. When the size of the frame is changed horizontaly the size is adapted properly, but if the change is only horizontaly nothing happens.
     
    When looking at the html code with a DomViewer Tool, then inside the frame i find a table whose opening tag is looks like this:
     
    <TABLE class=OurCustomInstantMainPanel FullPageWindow HtmlWindow HtmlParentControl HtmlComplexControl HtmlControl Object>
    <TBODY>
       <TR>
       <TR>
          <TD>
                <DIV>
                      <DIV class="InstantMenuControl HtmlMenuControl HtmlComplexControl HtmlControl Object>
                      <DIV class="InstantSigninPanel HtmlPanel HtmlParentControl HtmlComplexControl HtmlControl Object>
                      <DIV class="OurCustomInstantMyStatus HtmlSource HtmlControl Object>
                      <DIV class="OurCustomMainContent HtmlPanel HtmlParentControl HtmlomplexControl HtmlControl Object>      
                      ....
     
    As you see we have changed three components in the corresponding xml file CHATUI_IMMain.xml :  
     
                   -     OurCustomInstantMainPanel
                   -    OurCustomInstantMyStatus
                   -    OurCustomMainContent
     
     
    I believe there is a java script action that sets the size dynamicly, but somehow it only works if the change  in size is horizontaly (of the frame in which the html code is displayed). However ive found no clue. What has to be done to make the CuteChat content fill the frame when resizing it vertically. 
     
    Ive already lost several ours on this and im kind of desperate. I would apreciate any help.
     
    Thanks in advance and greetings.
     
    Daniel
     
     
     
     
  •  09-07-2006, 12:36 PM 22492 in reply to 22478

    Re: Problems with Resizing CuteChat Contact list

    Daniel:
     
    If it's possible , can you send the xml code to me ?
     
    my mail address is terry @ cutesoft.net .
     
    If you want something resize automatically , you can set it AutoDock="Fill"
     
    Regards , Terry .
  •  09-08-2006, 3:14 AM 22515 in reply to 22492

    Re: Problems with Resizing CuteChat Contact list

    Hi Terry
     
    Thanks for your offer. I will make use of it. From my understanding, the AutoDock attribute is set correctly to "Fill". Strangly CuteChat does resize properly if the change of the frame it is placed in, is horizontally.
     
    Greetings and thanks
     
    Daniel
View as RSS news feed in XML