Page 1 of 1

SearchCtrl in tool bar

Posted: Tue Jul 08, 2014 4:39 am
by coder99
Is there any way within wxCrafter to control or set the width of a wxSearchCtrl in a tool bar?
TIA,
Arnold

Re: SearchCtrl in tool bar

Posted: Tue Jul 08, 2014 10:10 am
by eranif
Since wxToolbar does not use wxSizers, your only option is to manually set the control width in the proprties view
- Add wxSearchCtrl to a wxToolbar
- Select the control and in the properties, change its size: (by default its -1,-1, so set it to 300,-1)

Eran

Re: SearchCtrl in tool bar

Posted: Tue Jul 08, 2014 7:08 pm
by coder99
Thank you; I'll give that a try & it worked.