Menu

#151 PHP - TextCtrl wxGROW

v1.0_(example)
open
nobody
5
2015-01-18
2015-01-18
NetWielder
No

In wxPHP, the wxGROW constant may be used in wxSize instance to allow a wxTextCtrl to grow when encapsulating wxBoxSizer instance dimenions change. However, I am only able to enter numeric values in to the width property. See attached screen shot.

Generated Code:

$this->usernameTextCtrl = new wxTextCtrl( $this, wxID_ANY, wxEmptyString, wxDefaultPosition, new wxSize( 175,-1 ), 0 );

Expected Code:

$this->usernameTextCtrl = new wxTextCtrl( $this, wxID_ANY, wxEmptyString, wxDefaultPosition, new wxSize( wxGROW,-1 ), 0 );

Please allow constants to be entered into wxFormBuilder property grid so I can use generated classes.

Thanks,
Mike :-)

1 Attachments

Discussion

Monday.com Logo