X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef316e23c9a67ab20180f3a07bd78476a6caa69a..47fe7ff3821c632b490b16da6b5113f127905a23:/docs/latex/wx/grid.tex diff --git a/docs/latex/wx/grid.tex b/docs/latex/wx/grid.tex index 0231c365d0..2b0375eba6 100644 --- a/docs/latex/wx/grid.tex +++ b/docs/latex/wx/grid.tex @@ -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}} @@ -253,6 +261,10 @@ the grid is suppressed. Each call to BeginBatch must be matched by a later call modification can be enclosed between BeginBatch and EndBatch calls to avoid screen flicker. The final EndBatch will cause the grid to be repainted. +\wxheading{See also} + +\helpref{wxGridUpdateLocker}{wxgridupdatelocker} + \membersection{wxGrid::BlockToDeviceRect}\label{wxgridblocktodevicerect} @@ -514,6 +526,10 @@ EndBatch. Code that does a lot of grid modification can be enclosed between BeginBatch and EndBatch calls to avoid screen flicker. The final EndBatch will cause the grid to be repainted. +\wxheading{See also} + +\helpref{wxGridUpdateLocker}{wxgridupdatelocker} + \membersection{wxGrid::Fit}\label{wxgridfit} @@ -1604,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 \texttt{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} @@ -1843,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 \texttt{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}