[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Minimum size of frames
From: Koos Vriezen <koos.vriezen () xs4all ! nl>
Date: 2002-01-22 19:07:17
[Download RAW message or body]
On Tue, 22 Jan 2002, Koos Vriezen wrote:
> > <html>
> > <frameset rows="0,50,*">
> > <frame ..>
> > <frame ..>
> > <frame ..>
> > </frameset>
> > </html>
>
> Anyway, this should do it
> + if (!m_rowHeight[i] && i > 0 && i < element()->totalRows() - 1)
> + remainingHeight += element()->border();
> m_colWidth[i] = remainingWidth;
> + if (!m_colWidth[i] && i > 0 && i < element()->totalCols() - 1)
> + remainingWidth += element()->border();
Should be:
if (!m_rowHeight[i] && element()->totalRows() > 1 && i < element()->totalRows() - 1)
and
if (!m_colWidth[i] && element()->totalCols() > 1 && i < element()->totalCols() - 1)
Koos
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic