Update MainFrame.cpp

Fix Size Setting panel for Tab Graphic