Update default Charts window width

* Set the window width default to 845px which is just enough
  to fit the controls along the top in the default font size and locale.
* Fix an obvious type in a comment in ChartWindow.cpp
This commit is contained in:
John Scipione 2012-04-12 17:04:38 -04:00
parent 37da7b7dce
commit abbd8f3516
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ main()
ChartApp::ChartApp() : BApplication("application/x-vnd.Be.ChartDemo")
{
fWindow = new ChartWindow(BRect(120, 150, 629, 591),
fWindow = new ChartWindow(BRect(120, 150, 965, 591),
B_TRANSLATE_SYSTEM_NAME("Chart"));
// showing the window will also start the direct connection. If you

View File

@ -51,7 +51,7 @@ enum {
#define MAX_FONT_SIZE 12.0f
/* various offse, width, height and position used to align and
/* various offset, width, height and position used to align and
set the various UI elements. */
enum {
TOP_LEFT_LIMIT = 26,