7d608a79e87ea3c381c3179ad58d902ee0b1b7a2 2357 |
|
26-Apr-2007 |
vboxsync |
1764: Better default size in "Create VDI" wizard when called from "Create VM" wizard.
These changes related both to NewVM and NewHD wizards.
1. Labels sizeHint calculation based on minimum QLabel width. In case of there is no minimum QLabel width predefined – sizeHint calculation leads to wrong dialog height (dialog could be very tall).
2. Own QTextEdit implementation with sizeHint based on contained text.
3. The color of the dialog’s picture background is set to the color of the picture’s last pixel. So it is possible to vertically resize dialog & picture simultaneously. |