Is there any way within wxCrafter to control or set the width of a wxSearchCtrl in a tool bar?
TIA,
Arnold
SearchCtrl in tool bar
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
SearchCtrl in tool bar
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: SearchCtrl in tool bar
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
- 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
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: SearchCtrl in tool bar
Thank you; I'll give that a try & it worked.
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2