DomAPI Home
DomAPI
Build: Not Applicable
Topic: reflow and splitpane

  Crying_freeGazz registered v4 wrote on Monday 11/14/05 at 2:59 AM (PST)  
 

Hello ,

I have a splitpane , with reflow params , and I have two panes in the splitpanee. This two panes have many components with reflow params.
But only splitpane it's resized/moved with command domapi.reflow.render(); I think 'reflow' don't reflow components under splitpane. or complex component , I have the same problem with outlookbar , and notebook.

Best regards,
Sebastien.

 
    RSS feed of forum  
  Darin Kadrioski registered v4 wrote on Monday 11/14/05 at 8:48 AM (PST)  
 

Correct. I personally use a combination of packer and manual resize code. See the 'outlook-like' example for for.

HTH

 
    RSS feed of forum  
  Crying_freeGazz registered v4 wrote on Monday 11/14/05 at 9:35 AM (PST)  
 

I see the code 'outlook-like' but for example :

I have a splitpane , with a pane in child1 which contains two panes (with reflow params) , and these both panes have many component (with reflow params).

How reflow the all components ?

 
    RSS feed of forum  
  Henry registered v4 wrote on Monday 11/14/05 at 3:16 PM (PST)  
 

also, you can take a look at the desktop example's explorer window. that handle the components inside the panes as well.

Currently, I use manual resize code plus css. that work best for me. Components inside pagecontrol have problem with reflow. it throw some nasty stack overflow error.

Henry

 
    RSS feed of forum  
  Crying_freeGazz registered v4 wrote on Wednesday 11/16/05 at 3:05 AM (PST)  
 

'Components inside pagecontrol have problem with reflow. it throw some nasty stack overflow error.'

I have the same problem only with IE ? it's possible to have a patch for this problem ?

With packer , same problems ?

Thanks a lot.


 
    RSS feed of forum  
  Crying_freeGazz registered v4 wrote on Friday 11/18/05 at 5:55 AM (PST)  
 

I have tested with packer , it's the same problems.

I need to use Notebook and packer (or reflow) ? it's a big problem for me.

 
    RSS feed of forum  
  Darin Kadrioski registered v4 wrote on Friday 11/18/05 at 9:06 AM (PST)  
 

Compound components simple don't behave well with the layout engines as they require too much recursion. Your best bet is to use a combination of a layout engine and some manual onresize code.

 
    RSS feed of forum  
  Henry registered v4 wrote on Friday 11/18/05 at 10:09 AM (PST)  
 

rssReader is built with manual resize code, with some css, some manual code, some component's own layout code (splitpane in this case) will give you a better experience then the layout engine. My production codes also use the same technique.

may be all these idea will mix into my own layout engine in the future ;)

Henry

 
    RSS feed of forum  
  Crying_freeGazz registered v4 wrote on Friday 11/18/05 at 11:01 AM (PST)  
 

under firefox , packer and reflow work perfectly.

 
    RSS feed of forum  
  Crying_freeGazz registered v4 wrote on Friday 11/18/05 at 11:40 AM (PST)  
 

I have read post in forum , and many persons have the same problem. I think it's difficult to build much complex gui , whitout layout engine like as reflow or packer.

Best regards,
Sebastien.

 
    RSS feed of forum  
You could respond to this post if you were logged in.
DHTML by www.domapi.com