diff options
Diffstat (limited to 'views/examples/examples_main.cc')
-rw-r--r-- | views/examples/examples_main.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/examples/examples_main.cc b/views/examples/examples_main.cc index 9aa2adf..badef5c 100644 --- a/views/examples/examples_main.cc +++ b/views/examples/examples_main.cc @@ -23,6 +23,7 @@ #include "views/examples/table2_example.h" #endif #include "views/examples/textfield_example.h" +#include "views/examples/widget_example.h" #include "views/focus/accelerator_handler.h" #include "views/grid_layout.h" #include "views/window/window.h" @@ -78,7 +79,7 @@ void ExamplesMain::Run() { layout->AddView(status_label_); views::Window* window = - views::Window::CreateChromeWindow(NULL, gfx::Rect(0, 0, 600, 300), this); + views::Window::CreateChromeWindow(NULL, gfx::Rect(0, 0, 700, 300), this); examples::TextfieldExample textfield_example(this); tabbed_pane->AddTab(textfield_example.GetExampleTitle(), @@ -119,6 +120,10 @@ void ExamplesMain::Run() { table2_example.GetExampleView()); #endif + examples::WidgetExample widget_example(this); + tabbed_pane->AddTab(widget_example.GetExampleTitle(), + widget_example.GetExampleView()); + window->Show(); views::AcceleratorHandler accelerator_handler; MessageLoopForUI::current()->Run(&accelerator_handler); |