Jean-Marc Lasgouttes wrote:
>>>>>>"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:
>>>>>>
>
> Herbert> where is the sense, that I get a long vertical line when I
> Herbert> choose for example "-3cm" as vertical length? It should be
> Herbert> better to a) draw negative values as is, or b) draw them with
> Herbert> the minimum of positive length
>
> Yes, b) is probably the best option. I'll try to do it tonight.
try this in
int LyXText::getLengthMarkerHeight(BufferView * bv, VSpace const & vsp)
const
int const space_size = int(vsp.inPixels(bv));
int const arrow_size = 4;
+ if (vsp.length().len().value() < 0.0) {
+ return (4*arrow_size);
+ }
LyXFont font;
font.decSize();
it's ok for me ....
Herbert
--
http://www.lyx.org/help/