Update MainFrame.cpp

Fix Size Setting panel for Tab Graphic
Fix Size Windows Setting