Fix bug 2884 and 3437:
commitd87ae38df2d3d6c339c4c58c5a39c932bc0ed8d7
authorspitz <spitz@a592a061-630c-0410-9148-cb99ea01b6c8>
Sat, 21 Apr 2007 08:43:46 +0000 (21 08:43 +0000)
committerspitz <spitz@a592a061-630c-0410-9148-cb99ea01b6c8>
Sat, 21 Apr 2007 08:43:46 +0000 (21 08:43 +0000)
tree78682d690248e2ec53e2ca173603d63ced9ad850
parent0b64f01c821c8749cc53a0c728419c1fa5efd92d
Fix bug 2884 and 3437:

* src/insets/insetbase.h:
* src/insets/insetcollapsable.h:
- make isFixedWidth (former insetcollapsable member) a member of insetbase.
src/insets/insettext.h:
- make border_ public (needed by insetcollapsable).
src/insets/insettext.C (draw, drawSelection):
- adjust drawing for fixed width insets
* src/insets/insetcollapsable.C (metrics):
- adjust dimension for fixed width insets
src/insets/insetbox.C (metrics):
- properly calculate metrics for fixed width insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17879 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/insetbase.h
src/insets/insetbox.C
src/insets/insetcollapsable.C
src/insets/insetcollapsable.h
src/insets/insettext.C
src/insets/insettext.h