Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eng.sun.COM!tomj From: tomj@eng.sun.COM (Tom Jacobs) Newsgroups: comp.windows.x Subject: Re: XView Question: Is It Possible To Change Font For A Panel_List? Message-ID: <9007252309.AA19149@snowking.Eng.Sun.COM> Date: 25 Jul 90 23:09:16 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 34 >I have a Scrolling List that I use to display some tabular data. The >I have a Scrolling List that I use to display some tabular data. The >data looks something like this: > > 1. 15 16 > 2. 3000 4000 > 3. 15398 16080 >(and so on) > >The problem is, the Panel_List used to make this Scrolling List seems >to use a proportional font, so the formatting for the above data is >screwy. In other words, it looks something like this: > > 1. 15 16 > 2. 3000 4000 > 3. 15398 16080 >(and so on) > >What I want to know is, can I change the font of the Scrolling List so >that it uses a monospaced font instead of the proportional font, or is >the Panel_List font part of the OPEN LOOK style guide and therefore ? You're correct about OL style and fonts and that XView works hard to to help apps to conform. However, there is support in scrolling lists to set the fonts for either the list as whole or individual items. The attributes are PANEL_LIST_FONT and PANEL_LIST_FONTS. There were some bugs with this in the 1.0.1 (R4) release, but this has been fixed in our version 2 update which should make it to expo.lcs.mit.edu in the next week or so. These changes are also part of OpenWindows version 2. --- Tom Jacobs ARPA: tomj@eng.sun.com Sun Microsystems, Inc. UUCP: sun!tomj