added support for wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-15 17:44:41 +00:00
parent 03cebc22cb
commit 733f486aac
6 changed files with 201 additions and 13 deletions

View File

@@ -183,11 +183,11 @@ The memory requirements for this could become prohibitive if your grid is very l
\membersection{wxGrid::AutoSizeColOrRow}\label{wxgridautosizecolorrow}
\membersection{wxGrid::AutoSizeColLabelSize}\label{wxgridautosizecollabelsize}
\func{void}{AutoSizeColOrRow}{\param{int }{n}, \param{bool }{setAsMin}, \param{bool }{column}}
\func{void}{AutoSizeColLabelSize}{\param{int }{col}}
Common part of AutoSizeColumn/Row() or row?
Automatically adjusts width of the column to fit its label.
@@ -230,6 +230,14 @@ The memory requirements for this could become prohibitive if your grid is very l
\membersection{wxGrid::AutoSizeRowLabelSize}\label{wxgridautosizerowlabelsize}
\func{void}{AutoSizeRowLabelSize}{\param{int }{col}}
Automatically adjusts height of the row to fit its label.
\membersection{wxGrid::AutoSizeRows}\label{wxgridautosizerows}
\func{void}{AutoSizeRows}{\param{bool }{setAsMin = true}}
@@ -1612,6 +1620,9 @@ Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BO
Sets the height of the column labels.
If \arg{height} equals to \textt{wxGRID\_AUTOSIZE} then height is calculated automatically
so that no label is truncated. Note that this could be slow for a large table.
\membersection{wxGrid::SetColLabelValue}\label{wxgridsetcollabelvalue}
@@ -1851,6 +1862,9 @@ Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BO
Sets the width of the row labels.
If \arg{width} equals \textt{wxGRID\_AUTOSIZE} then width is calculated automatically
so that no label is truncated. Note that this could be slow for a large table.
\membersection{wxGrid::SetRowLabelValue}\label{wxgridsetrowlabelvalue}