#277 Scrolled list inside RowColumn shrinks on resize

with test code
open
nobody
5
2009-11-13
2007-02-10
Peter Wainwright
No

"Honey, I shrunk the Kid"

Run the attached test program with the command:

./test -xrm 'test*highlightThickness:10'

and resize the window. As you do so the list will
rapidly shrink in height. By 20 pixels for each
resize event.

It appears that the when the RowColumn is resized, the
ScrolledWindow/List is not getting the size requested.
This does not happen unless the highlightThickness
resource is set. It appears there is some inconsistency
in the geometry code, as if the highlightThickness is
counted in some places and not in others.

I can fix my case by setting bw=0 and bh=0 in
_XmScrolledWLayout. I don't understand the code here
but it looks to me like they shouldn't be here
unless the quaintly named
"I_WANT_THEIR_SUCKING_EXTRA_SEP" macro is defined.

Discussion

  • Test case

     
    Attachments
  • Paul Gevers
    Paul Gevers
    2009-11-13

    • milestone: --> with test code