Closed colejohnson66 closed 2 years ago
In addition, if I maximize the window, there's no growth at all into the available space. Maybe a Viewbox
or CanResize="False"
should be added to the window?
Hi, thank you for this! I have added CanResize="False"
to the ColorPickerWindow
.
Note that if you want a more flexible behaviour, you can either create a new Window
implementing IColorPickerWindow
and put a ColorPicker
control inside it (e.g. within a ViewBox
, if you want), or create a CustomColorPicker
with a completely different layout (which would let you e.g. allow the controls to grow to fill the available space).
Neither of these is the default because with the ViewBox
the buttons would become too small to click on them, and with the dynamic layout things can get messy very quickly if you're not careful.
See this screenshot: