Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!slotown.corp.sun.COM!aim From: aim@slotown.corp.sun.COM (Amy) Newsgroups: comp.windows.x Subject: Re: XView Question: Is It Possible To Change Font For A Panel_List? Message-ID: <9007251538.AA05312@slotown.mts-net> Date: 25 Jul 90 15:38:59 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 35 >>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 >> . >> . >> . >> 15. 4094 5051 >>(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 unchangeable? >> With XView 1.0 & 1.0.1, there were some bugs relating to setting the font on panel lists. However, with XView version2 (binary version just announced, source version available in near future) these bugs have been fixed and you can use the PANEL_LIST_FONT attribute to set the font on the list items (use xv_find to get a fixed width font). In V2 you can even set different fonts for individual items in the list.... I know this may not help you if your using 1.0/1.0.1 XView, but at least you know what the near future holds. Regards, Amy Moore aim@sun.com