windows/seasonwindow: fix dimensions, make resizable

This commit is contained in:
zvon 2020-04-01 20:20:20 +02:00
parent f468596022
commit 2f845cd7e7
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ SeasonWindow::SeasonWindow( HINSTANCE hInstance,
: parent( parent_window ), returned( return_vector ),
season_nums( seasons ) {
window = CreateWindowW( L"SeasonWindow", _( GUI_WINDOW_SEASON ),
WS_OVERLAPPEDWINDOW ^ WS_THICKFRAME | WS_VISIBLE,
WS_OVERLAPPEDWINDOW | WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT, window_width,
window_height, parent, NULL, hInstance, NULL );
ShowWindow( window, SW_SHOW );

View File

@ -23,8 +23,8 @@ private:
HWND window;
HWND parent;
const int window_width{ 250 };
const int window_height{ 250 };
const int window_width{ 265 };
const int window_height{ 290 };
std::vector< HWND > checkboxes;
std::vector< int > &returned;
const std::vector< int > &season_nums;