Have NotificationWindow enforce the window size setting.

This commit is contained in:
Alex Wilson
2012-04-01 11:54:22 +12:00
parent d19e651f97
commit ac93328eb9
@@ -520,6 +520,8 @@ NotificationWindow::_LoadDisplaySettings(bool startMonitor)
if (settings.FindFloat(kWidthName, &fWidth) != B_OK)
fWidth = kDefaultWidth;
GetLayout()->SetExplicitMaxSize(BSize(fWidth, B_SIZE_UNSET));
GetLayout()->SetExplicitMinSize(BSize(fWidth, B_SIZE_UNSET));
if (settings.FindInt32(kIconSizeName, &setting) != B_OK)
fIconSize = kDefaultIconSize;