Added wxSizerFlags::Top() and Bottom()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,6 +18,11 @@ Major new features in this release
|
|||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
2.9.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
- Added wxSizerFlags::Top() and Bottom()
|
||||||
|
|
||||||
|
|
||||||
2.8.2
|
2.8.2
|
||||||
-----
|
-----
|
||||||
|
@@ -596,8 +596,10 @@ Note that if this method is not called, the wxSizerFlags has no specified alignm
|
|||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
\helpref{Top}{wxsizerflagstop},\\
|
||||||
\helpref{Left}{wxsizerflagsleft},\\
|
\helpref{Left}{wxsizerflagsleft},\\
|
||||||
\helpref{Right}{wxsizerflagsright},\\
|
\helpref{Right}{wxsizerflagsright},\\
|
||||||
|
\helpref{Bottom}{wxsizerflagsbottom},\\
|
||||||
\helpref{Centre}{wxsizerflagscentre}
|
\helpref{Centre}{wxsizerflagscentre}
|
||||||
|
|
||||||
|
|
||||||
@@ -615,6 +617,17 @@ default size, as returned by \helpref{GetDefaultBorder}{wxsizerflagsgetdefaultbo
|
|||||||
is used.
|
is used.
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxSizerFlags::Bottom}\label{wxsizerflagsbottom}
|
||||||
|
|
||||||
|
\func{wxSizerFlags\& }{Bottom}{\void}
|
||||||
|
|
||||||
|
Aligns the object to the bottom, shortcut for \texttt{Align(wxALIGN\_BOTTOM)}
|
||||||
|
|
||||||
|
\wxheading{See also}
|
||||||
|
|
||||||
|
\helpref{Align}{wxsizerflagsalign}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxSizerFlags::Center}\label{wxsizerflagscenter}
|
\membersection{wxSizerFlags::Center}\label{wxsizerflagscenter}
|
||||||
|
|
||||||
\func{wxSizerFlags\& }{Center}{\void}
|
\func{wxSizerFlags\& }{Center}{\void}
|
||||||
@@ -704,6 +717,17 @@ Set the \texttt{wx\_SHAPED} flag which indicates that the elements should
|
|||||||
always keep the fixed width to height ratio equal to its original value.
|
always keep the fixed width to height ratio equal to its original value.
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxSizerFlags::Top}\label{wxsizerflagstop}
|
||||||
|
|
||||||
|
\func{wxSizerFlags\& }{Top}{\void}
|
||||||
|
|
||||||
|
Aligns the object to the top, shortcut for \texttt{Align(wxALIGN\_TOP)}
|
||||||
|
|
||||||
|
\wxheading{See also}
|
||||||
|
|
||||||
|
\helpref{Align}{wxsizerflagsalign}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxSizerFlags::TripleBorder}\label{wxsizerflagstriplebleborder}
|
\membersection{wxSizerFlags::TripleBorder}\label{wxsizerflagstriplebleborder}
|
||||||
|
|
||||||
\func{wxSizerFlags\& }{TripleBorder}{\param{int }{direction = wxALL}}
|
\func{wxSizerFlags\& }{TripleBorder}{\param{int }{direction = wxALL}}
|
||||||
|
@@ -75,8 +75,10 @@ public:
|
|||||||
// some shortcuts for Align()
|
// some shortcuts for Align()
|
||||||
wxSizerFlags& Centre() { return Align(wxCENTRE); }
|
wxSizerFlags& Centre() { return Align(wxCENTRE); }
|
||||||
wxSizerFlags& Center() { return Centre(); }
|
wxSizerFlags& Center() { return Centre(); }
|
||||||
|
wxSizerFlags& Top() { return Align(wxALIGN_TOP); }
|
||||||
wxSizerFlags& Left() { return Align(wxALIGN_LEFT); }
|
wxSizerFlags& Left() { return Align(wxALIGN_LEFT); }
|
||||||
wxSizerFlags& Right() { return Align(wxALIGN_RIGHT); }
|
wxSizerFlags& Right() { return Align(wxALIGN_RIGHT); }
|
||||||
|
wxSizerFlags& Bottom() { return Align(wxALIGN_BOTTOM); }
|
||||||
|
|
||||||
// default border size used by Border() below
|
// default border size used by Border() below
|
||||||
static int GetDefaultBorder()
|
static int GetDefaultBorder()
|
||||||
|
Reference in New Issue
Block a user