Re: Customizing the look on Linux

"Wendell P" <[email protected]> Thu, 14 Apr 2011 12:15:41 -0700
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
On Wed, 13 Apr 2011 17:31 -0400, "Aaron W. Hsu" <[email protected]>
wrote:
> On Wed, 13 Apr 2011 14:28:10 -0400, Wendell P <[email protected]>  
> wrote:
> > I now have only one remaining configuration problem. I have not found a
> > combination of settings that would make the font in text-input boxes
> > match the text frame rather than the lists/menus.
> 
> You can set the fontLists on text boxes to be different than what is used 
> for Labels, which are what the menus and lists are based on. You can try  
> setting *XmText.fontList and *XmTestField.fontList resources, and then  
> using the *XmLabel.fontList for the lists and menus.

I am using LessTif 0.95.2-1 on Debian Wheezy. Part of the problem is
that *XmLabel.fontList doesn't work properly. It will set the label text
on popup dialogs, but will not affect buttons/menus. Another issue seems
to be with the design of NEdit. Using *FontList will set the text in
menus/buttons/labels and the entry text in file browser dialogs, but not
the entry text in the Search and Font dialogs. XmTextField will set
entry text in just the file browser dialog. XmText will set entry text
in just the Search/Font dialogs.

Experimenting a little I have got to this combination:
nedit*FontList: <menu/button/label font>
nedit*XmText.fontList: <text frame font>
nedit*XmTextField.fontList: <text frame font>

This will make the text-input font in all dialogs match the text frame
font. The only remaining issue is that the Directories and Files frames
of the file browser dialog match the menu rather than the text. Is there
a setting to target just that?

Aside from the .Xresources issue, another problem with LessTif is that
rendering of the popup dialogs is very buggy. Debian does have Open
Motif 2.3.3-5 in the non-free repository. It would be much better if the
default build of NEdit were linked against that, but I'm concerned here
to provide advice for people who download the default package to give
NEdit a try. So I think there is no ignoring LessTif for now.

-- 
http://www.fastmail.fm - A fast, anti-spam email service.

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss