Mjokinen 10568

Change warn panel to adjust its size according to its message's length.