Re: Customizing the look on Linux
"Aaron W. Hsu" <[email protected]> Thu, 14 Apr 2011 16:25:49 -0400
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Organization | Indiana University |
| Message-ID | <op.vtx21bbl0p3ku8@localhost> |
On Thu, 14 Apr 2011 15:15:41 -0400, Wendell P <[email protected]> wrote: > 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. Actually, from what you describe, things are working correctly. The XmLabel resource is only going to match XmLabels. Buttons and Menus are subclasses of Labels, but their resources are likely to be overridden at some point. You would have to specify their widget types, such as XmPushButton or XmPulldownMenu to change the fonts for those items specifically. You will need to set the fonts on each widget you care about, or, as you have done, use a global glob that grabs all of them, and then change each other that differs from the main in some way. > 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? The widget used to do the Lists in the FileSelectionDialogs are XmLists. If you set the XmList.fontList resource you can control this for all Lists. However, if you only want to apply this to the file selection dialog, you need to set that using something like *XmFileSelectionBox*XmList.fontList. > 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. Indeed, there are plenty of people who still use LessTif. Slackware still ships with LessTif as the default. Fortunately, on that system, it is easy to rebuild things using OpenMotif. On other systems that is not so easy. I usually recommend building NEdit from the latest CVS. Aaron W. Hsu -- Programming is just another word for the lost art of thinking. -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss