On 4/28/05, Jon A. Cruz <jon@...18...> wrote:
Yes, I was planing on shoving in a new button somewhere. But... if I get time to embed the swatch palette in the main UI window, I'll just drop it next to that.
Yes.
Also it would be very nice to scroll the palette (if it does not entirely fit) by middle mouse button, the way we scroll canvas. Can you do that?
We'll try to get that in. That falls under the container (Panel which implements PreviewFillable) needing new layout code. Among other things, I think behaving like the Gimp's and doing a flow-layout that avoids horizontal scrolling would also be good.
Exactly. In fact I think it will make sense, instead of small/medium/large/huge, to have two modes: horizontal and vertical. In horizontal mode, there may be only horizontal scrolling if any, and the swatches would reflow and squeeze to fit exactly the allocated vertical space. In vertical mode, correspondingly, only vertical scrollbar may be present. And if there is more space than necessary for the current amount of swatches require, they grow to fit exactly. In other words, I want to control the size of the swatches by resizing the palette, not by choosing some predefined size, and I only want to choose the direction in which I will scroll if the swatches don't fit even at the minimum size. Can you do that?