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:
@@ -33,7 +33,7 @@ main()
|
|||||||
|
|
||||||
ChartApp::ChartApp() : BApplication("application/x-vnd.Be.ChartDemo")
|
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"));
|
B_TRANSLATE_SYSTEM_NAME("Chart"));
|
||||||
|
|
||||||
// showing the window will also start the direct connection. If you
|
// showing the window will also start the direct connection. If you
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ enum {
|
|||||||
|
|
||||||
#define MAX_FONT_SIZE 12.0f
|
#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. */
|
set the various UI elements. */
|
||||||
enum {
|
enum {
|
||||||
TOP_LEFT_LIMIT = 26,
|
TOP_LEFT_LIMIT = 26,
|
||||||
|
|||||||
Reference in New Issue
Block a user