wxTextCtrl wxHSCROLL with XRC on OS X

Uli Franke DWE uli.franke at weiss.ch
Thu Feb 1 03:28:38 PST 2007


Hi Stefan

I wanted to ask if you found out something about the issue below or if I
have to find a workaround...

>>> When I try to instantiate dialogs containing wxTextCtrl objects from
>>> a XRC ressource with the wxHSCROLL flag set, the space for an
>>> horizontal scroll bar is set aside but it never shows up.
>>>
>>> On windows the same source works fine. On Mac I use the carbon
>>> version. What can cause this problem?
> 
>> Which wx version are you on ?
>>
>> What are the complete flags this control gets (could you copy the xrc
>> node detailing that control )

> 
> I'm on 2.8.
> Here the XRX code for this control (I included the surrounding sizer too):
> 
> <object class="sizeritem">
>   <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP</flag>
>   <border>5</border>
>   <object class="wxGridSizer">
>     <cols>1</cols>
>     <rows>0</rows>
>     <vgap>0</vgap>
>     <hgap>0</hgap>
>     <object class="sizeritem">
>       <flag>wxGROW|wxGROW|wxALL</flag>
>       <border>5</border>
>       <option>2</option>
>       <object class="wxTextCtrl" name="ID_TEXTCTRL">
>         <size>-1,200</size>
>         <style>wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL</style>
>       </object>
>     </object>
>   </object>
> </object>
> 
> Thanks
> Uli

-- 

 Uli Franke -- WEISS ENGINEERING LTD.
 Professional Digital Audio Products
 Florastrasse 42, 8610 Uster Switzerland
 phone: +41 1 940 20 06, fax: +41 1 940 22 14
 email: uli.franke at weiss.ch web: http://www.weiss.ch





More information about the wx-users mailing list