I think, I have finally finished the dynamic avatar resizing. It is now smart enough to make best use of the available screenspace without disturbing the dialog layout, regardless how small or how large the avatar image is.Basicall, it uses 2 different layouts - you probably already know them from the static layout, because they are available as two different alignment options (align for maximum log size and align for full width button bar).This is layout "1" - it is used by default and allows the avatar to take space from the button bar. The problem with this layout is that it may crush the button bar if the avatar gets too large (in the case you raise the splitter). Buttons may disappear because of this, and I consider this an ugly behaviour.This is layout "2" - The "smart" resizing code uses it whenever the avatars width becomes too large to fit into layout 1 without disturbing the button bar layout. This layout will result in a smaller avatar (assuming the same splitter position), but the button bar will stay intact. The code is smart enough to recalculate the layout whenever you move the splitter or resize the window. It also automatically calculates the space requirements of the button bar, depending on which elements are visible on it. Hiding the send button for example gives you about 40 pixels more horizontal space for the avatar using layout "1".This code is only available when using the "dynamic avatar resizing" which has been added recently. The old behaviour of having the avatar at a fixed size is still available though. The dynamic avatar resizing also helps with a global splitter position, because the avatar will never have an impact on the window splitter at all (splitter position is enforced).Because the dynamic resizing can almost never screw up the window layout, avatar limits have been raised to 1024x768 pixels when using dynamic resizingAll this stuff will be available in the next build - the current released build contains dynamic resizing, but not the "smart" resizing code which will contantly watch the dimensions of the avatar, the message window and the button bar to adjust the layout accordingly.There is also an addidtional safety check - the avatar may not use more than 80% of the horizontal window width, otherwise it might end up with an invisible message input area, which wouldn't exactly be helpful Normally, the apect ratio of the picture is preserved, but this safety check will hard-limit the width of the avatar and thus might screw up the aspect ratio of the avatar picture.