git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-28 11:34:55 +00:00
parent e0c8d2d924
commit 6cfc4ddb23

View File

@@ -1,3 +1,14 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: flexsizr.tex
%% Purpose: wxFlexGridSizer
%% Author: wxWidgets Team
%% Modified by:
%% Created:
%% RCS-ID: $Id$
%% Copyright: (c) wxWidgets Team
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxFlexGridSizer}}\label{wxflexgridsizer}
A flex grid sizer is a sizer which lays out its children in a two-dimensional
@@ -9,7 +20,7 @@ the \helpref{wxGridSizer}{wxgridsizer}.
Since wxWidgets 2.5.0, wxFlexGridSizer can also size items equally in one
direction but unequally ("flexibly") in the other. If the sizer is only
flexible in one direction (this can be changed using
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection}),
\helpref{SetFlexibleDirection}{wxflexgridsizersetflexibledirection}),
it needs to be decided how the sizer should grow in the other ("non flexible")
direction in order to fill the available space. The
\helpref{SetNonFlexibleGrowMode}{wxflexgridsizersetnonflexiblegrowmode} method
@@ -67,7 +78,7 @@ of {\it proportion} parameter.
\membersection{wxFlexGridSizer::GetFlexibleDirection}\label{wxflexgridsizergetflexibledrection}
\constfunc{int}{GetFlexibleDirections}{\void}
\constfunc{int}{GetFlexibleDirection}{\void}
Returns a wxOrientation value that specifies whether the sizer flexibly
resizes its columns, rows, or both (default).
@@ -84,7 +95,7 @@ One of the following values:
\wxheading{See also}
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection}
\helpref{SetFlexibleDirection}{wxflexgridsizersetflexibledirection}
\membersection{wxFlexGridSizer::GetNonFlexibleGrowMode}\label{wxflexgridsizergetnonflexiblegrowmode}
@@ -112,7 +123,7 @@ direction.}
\wxheading{See also}
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection},
\helpref{SetFlexibleDirection}{wxflexgridsizersetflexibledirection},
\helpref{SetNonFlexibleGrowMode}{wxflexgridsizersetnonflexiblegrowmode}
@@ -155,4 +166,3 @@ been called previously). Argument {\it mode} can be one of those documented in
see there for their explanation.
Note that this method does not trigger relayout.