Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with a scrolled list
2004-04-16, 06:11 AM
Post: #1
Problem with a scrolled list
Hi,

I've created a X-Motif interface with some buttons, text fields and 2 scrolled lists.
My problem is that one of my scrolled list has sometimes a very tiny height (not even the height of a character).

I've created my scrolled list with XmCreateScrolledList and I've defined the height of the list with the resource 'XmNvisibleItemCount' set to 4 (I've also tried with 6).

I'm using SFU 3.5, Exceed 9.0, Motif 2.2.2.
On a Unix system (with an older version of Motif) or a Windows system with Interix 2.2, Exceed 8.0 and an older Motif, I've not this problem.

Do you have any idea of what happens and what I can do to solve this problem?

Thank you,
Hervé.
Find all posts by this user
Quote this message in a reply
2004-04-16, 07:34 AM
Post: #2
RE: Problem with a scrolled list
It's hard to debug code without code.
Can you show both XmCreateScrolledList() lines so we can compare?
And the definition of any resources you specify with XCSL ?
Can you provide information about the widget's parent ?
(I suspect it's something with the parent constraining the list/child).
Find all posts by this user
Quote this message in a reply
2004-04-23, 04:26 AM
Post: #3
RE: Problem with a scrolled list
Sorry for my late answer.

In fact, I don't use directly the Motif functions. I use them via other functions. So it's a little bit difficult to provide you with my code.

I think that I haven't defined strictly enough the attachments. So by chance it was working with a precedent version of Motif, but now the problem appears.
So, I've redefined all the attachments of the widgets in my interface, and now it works.

Thank you,
HT.
Find all posts by this user
Quote this message in a reply
2004-04-23, 05:45 AM
Post: #4
RE: Problem with a scrolled list
Good, glad to read it is working.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)