added wxSizerFlags::Left/Right()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -468,6 +468,12 @@ Sets the alignment of this wxSizerFlags to \tt{align}.
|
||||
|
||||
Note that if this method is not called, the wxSizerFlags has no specified alignment.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{Left}{wxsizerflagsleft},\\
|
||||
\helpref{Right}{wxsizerflagsright},\\
|
||||
\helpref{Centre}{wxsizerflagscentre}
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::Border}\label{wxsizerflagsborder}
|
||||
|
||||
@@ -501,6 +507,17 @@ Sets the object of the wxSizerFlags to center itself in the area it is given.
|
||||
Sets the object of the wxSizerFlags to expand to fill as much area as it can.
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::Left}\label{wxsizerflagsleft}
|
||||
|
||||
\func{wxSizerFlags\& }{Left}{\void}
|
||||
|
||||
Aligns the object to the left, shortcut for \texttt{Align(wxALIGN\_LEFT)}
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{Align}{wxsizerflagsalign}
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::Proportion}\label{wxsizerflagsproportion}
|
||||
|
||||
\func{wxSizerFlags\& }{Proportion}{\param{int }{proportion = 0}}
|
||||
@@ -508,4 +525,13 @@ Sets the object of the wxSizerFlags to expand to fill as much area as it can.
|
||||
Sets the proportion of this wxSizerFlags to \tt{proportion}
|
||||
|
||||
|
||||
\membersection{wxSizerFlags::Right}\label{wxsizerflagsright}
|
||||
|
||||
\func{wxSizerFlags\& }{Right}{\void}
|
||||
|
||||
Aligns the object to the right, shortcut for \texttt{Align(wxALIGN\_RIGHT)}
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{Align}{wxsizerflagsalign}
|
||||
|
||||
|
@@ -69,6 +69,8 @@ public:
|
||||
wxSizerFlags& Expand() { return Align(wxEXPAND); }
|
||||
wxSizerFlags& Centre() { return Align(wxCENTRE); }
|
||||
wxSizerFlags& Center() { return Centre(); }
|
||||
wxSizerFlags& Left() { return Align(wxALIGN_LEFT); }
|
||||
wxSizerFlags& Right() { return Align(wxALIGN_RIGHT); }
|
||||
|
||||
|
||||
wxSizerFlags& Border(int direction, int borderInPixels)
|
||||
|
Reference in New Issue
Block a user