visit
visit copied to clipboard
Color Table Window Resizes much larger than it needs to
Occasionally, when cycling through the list of color tables, the color table window will resize to accommodate many color control points in the editor. If you get really unlucky, the window will resize taller than the screen, and buttons at the bottom are no longer accessible. This happens because the editor resizes every time the selected color table changes and changes if it is continuous or discrete (So the window gets resized as you are changing the selected color table if the currently selected color table is continuous while the last one was discrete, or vice versa).
What needs to happen is that the continuous/discrete widgets need to make sure they aren't continually growing, they need some guard to make them use as little space as possible (Qt size adjust policy?).