This helps a little bit in that minipage gets the right height now ... sometimes...
Andre, please look. There is still total horkage for minipages alas. It thinks it has a width of 0. Andre, I don't see any handling of -1 widths. Where does the correction from -1 -> max text width happen ? regards john p.s. I think we've reached the state in current CVS where going back is impossible. Two of the most complex subsystems (inset metrics and undo) will have to be rewritten. I reckon it will take six months or so to get things back to a usable state since trying to fix things is so incredibly difficult Index: insets/insetminipage.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetminipage.C,v retrieving revision 1.73 diff -u -p -r1.73 insetminipage.C --- insets/insetminipage.C 27 May 2003 13:54:59 -0000 1.73 +++ insets/insetminipage.C 28 May 2003 02:44:57 -0000 @@ -236,7 +236,7 @@ void InsetMinipage::dimension(BufferView dimension_collapsed(dim); else { Dimension d; - InsetCollapsable::dimension(bv, font, dim); + InsetCollapsable::dimension(bv, font, d); switch (params_.pos) { case top: dim.asc = d.asc;