How to make wxText and wxListBox widgets more Windows-like under Motif



> - the default sizes for wxText and wxListBox lead to very small text
> areas under Motif

This problem is related to the default configuration of the Motif
widgets. Concerning the textitem the small text area is cause by
"extra wide" borders. To solve this problem you have to create 
the following file
         /etc/X11/app-defaults/your_executable_name
and put following entries into it:

!******************************************************************************
! wxText
! MSW-like apparence
*XmText.marginHeight:  1
*XmText.marginWidth: 1
*XmText.background: #FFFFFF

! the next line takes no effect, because LoadFromResource overwrites the
font
!*XmText.fontList:     
-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*

!******************************************************************************
! wxListBox
! MSW-like apparence
*XmList.background: #FFFFFF
*XmList.marginHeight:  1
*XmList.marginWidth: 1   

This configuration will result in an more Windows-like look!


I hope this hints will solve your problems!.

best regards 

          Albert Treytl
-- 
Albert Treytl
email: e9126078@stud1.tuwien.ac.at 
       treytl@ss1.iaee.tuwien.ac.at  
addr:  Kierlingerstr.60 A-3400 Klosterneuburg Austria