This dialog is only available when started with --new-widgets and shouldn't
add new strings. The dialog is added to ease the testing the listbox
alignment feature that still needs to be added before 1.6. This dialog won't
be finished before 1.6.
At the moment the scroll_label is the label to be used if wrapping is
required. The dialog looks a bit ugly due to the fact that the
scroll_label can't optimize it's size yet. Also the alignment looks a
bit odd, but I'll leave it to Baufo to tune that part.
Shadow_Master noticed that with a short message on a big screen the portrait
is shown outside the dialog. There's no proper way to fix it, so disabled
this feature for the time being.
Note the vertical centering doesn't work entirely since the text
height is unknown. This might be tuned later by exporting the height
of the panel part.
It seems not all old images are 205x205 so that test failed. Now test
whether both dimensions are < 300 if so treat it as an old small image
and don't scale otherwise scale. This doesn't work entirely for Arne
(TB) 297x333 but unscaled he'll hide some text.
- added the possibility to provide a password in the mp method selection dialog
- merged all dialogs that displayed erros or allowed entering the
username or password into one dialog.
- password is now saved in preferences (todo: add option to turn this off)
Kitty, Jetryl and zookeeper aren't too fond of the scrollbars in the
dialog if the text gets too long. Technically it's the easiest solution
to make things working in all cases. So we decided to let the dialog to
grow near the top so the scrollbars will pop up less frequently and
hopefully never.
2008-12-15T18:12:07Z!esr@thyrsus.com did the rename on the engine side which makes this
change no longer right. The name _initial.cfg sounds better as
_init.cfg.
In the macros directory some more generic macros will be defined, the
_initial.cfg should be loaded first. The engine doesn't enforce that yet but
probably esr will add that feature. (The odds of it not being loaded first is
probably theoretical.)
With the change of the drawing engine a rewrite of the containers is
needed as well. This adds a new container class which the scroll_label
uses. The class can't forward events and also the scrollbars are
always visible.