One for Lars: insetminipage

2003-02-11 Thread Angus Leeming
used. void InsetMinipage::read(Buffer const * buf, LyXLex & lex) { ... if (lex.isOK()) { lex.next(); string const token = lex.getString(); if (token == "inner_position") { lex.next();

Re: Strange declaration of InsetMinipage::width

2001-10-01 Thread Juergen Vigna
On 01-Oct-2001 Jean-Marc Lasgouttes wrote: > I just mean that Inset already has a virtual method named width() and > it is confusing to add a new method to an inset child with different > semantics (though related). Got it now, yes we should change name in this case! Jürgen -- -._-._-

Re: Strange declaration of InsetMinipage::width

2001-10-01 Thread Juergen Vigna
On 01-Oct-2001 Jean-Marc Lasgouttes wrote: > To shut off warnings? What warnings? > Because width is not the same as width? [one is in pixels, the > other is a string] Well no, one is to set the with_ string and the other returns it. And it's done as in a lot of other classes, so why does thi

RE: Strange declaration of InsetMinipage::width

2001-10-01 Thread Juergen Vigna
On 01-Oct-2001 Jean-Marc Lasgouttes wrote: > string const & width() const; > /// > void width(string const &); > > I can see what the difference between these two notions of 'width', > but it would be better to rename the second one, IMO. Why rename it??? Jürge

Re: InsetMinipage

2001-03-16 Thread Juergen Vigna
On 16-Mar-2001 Lars Gullik Bjønnes wrote: >| Obviously we cannot make this WYSIWYM (at least not the 5\paperheight), >| or can we? > > We can, but do we want to? Not really, but we should put some visual feedback on the screen so that one knows a height is set just by looking at the minipage.

Re: InsetMinipage

2001-03-16 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 16-Mar-2001 Lars Gullik Bjønnes wrote: | | > The height of the minipage. 5cm f.eks. or .5\paperheight | | Hmmm, yes this is an optional parameter of the minipages, isn't it? Yes, and btw. inner_pos only makes sense if height is set. | Obviously

Re: InsetMinipage

2001-03-16 Thread Juergen Vigna
On 16-Mar-2001 Lars Gullik Bjønnes wrote: > The height of the minipage. 5cm f.eks. or .5\paperheight Hmmm, yes this is an optional parameter of the minipages, isn't it? Obviously we cannot make this WYSIWYM (at least not the 5\paperheight), or can we? Jürgen -- -._-._-._-._-._-._-._-.

Re: InsetMinipage

2001-03-16 Thread Juergen Vigna
On 16-Mar-2001 Lars Gullik Bjønnes wrote: > As always I disagree, you just remove all incentive to do this right. > (by having an inferior solution that works well enough) You got me! But lastly it's your fault! You made NEW_INSETS default and forced us, to live with it. And I don't like to liv

Re: InsetMinipage

2001-03-16 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | BTW.: what for is the height() in the inset_minipage? The height of the minipage. 5cm f.eks. or .5\paperheight Lgb

Re: InsetMinipage

2001-03-16 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 16-Mar-2001 Lars Gullik Bjønnes wrote: | | > I have been thingking about this, and I really don't want a widthp(). | > What I do want is a class "Space". That can take the usual VSpace | > lengths, but also fractions of \columnwith and \linewidth. |

Re: InsetMinipage

2001-03-16 Thread Juergen Vigna
BTW.: what for is the height() in the inset_minipage? Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http:/

Re: InsetMinipage

2001-03-16 Thread Juergen Vigna
On 16-Mar-2001 Lars Gullik Bjønnes wrote: > I have been thingking about this, and I really don't want a widthp(). > What I do want is a class "Space". That can take the usual VSpace > lengths, but also fractions of \columnwith and \linewidth. I think that the userinterface should work with Leng