[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: koffice/tables/borders
From:       Thomas Zander <zander () planescape ! com>
Date:       2001-07-17 20:50:14
[Download RAW message or body]

On Tue, Jul 17, 2001 at 09:40:39PM +0200, David Faure wrote:
> On Tuesday 17 July 2001 21:07, Thomas Zander wrote:
> > Hi, just a quick question; does anyone (read: David or Laurent ;) know
> > why we have a n pixel space between the table-cells?
> 
> Doesn't n=1 ?
> >From kwtableframeset.cc :
> 
> // I changed this to 1 because it fixes cell border drawing in the normal case
> // and because e.g. msword has no big cell-spacing by default.
> // The real fix here would be to have a spacing per line and per row, that depends
> // on the border (max of the borders of all cells on the line)
> const unsigned int KWTableFrameSet::tableCellSpacing = 1; // 3;
> 

Oops, should have read the source ;)


> > I have just been experimenting with borders in combination with tables and 
> > found that you get a nice little gap between the cells..
> > 
> > The best solve I see it to make the distance between cells the width of the
> > border(s) between the adjoining cells.
> > Anyone see problems with that?
> 
> The max of the widths, right ? (in case they're not the same)

Right.

> I think we also need to "sync" the borders between adjacent cells.
> For instance, if the user sets a right border in the topleft cell, it should
> automatically set the same border in the 2nd cell's left border. The border
> is only drawn once anyway.

Hmm, not sure I understand; you mean that selecting a right border on one of
the cells should set all the cells in that column to have that right border?

Thereby making borders on tables, tablewide-borders.

That makes sense.

putting that on my todo list.
-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic