diff options
| author | Neil Jagdish Patel <neil.patel@canonical.com> | 2011-02-17 11:04:21 +0000 |
|---|---|---|
| committer | Neil Jagdish Patel <neil.patel@canonical.com> | 2011-02-17 11:04:21 +0000 |
| commit | 24c40d99b0d4fd0fa2bf217720e9130f14b0f658 (patch) | |
| tree | f50c73b5f3b08c3c43c568fa79a9c5961dea6925 /tests | |
| parent | 463155142a7407dec8b53bad89a9dc07d76fb1cb (diff) | |
| parent | c9beb6e389cf368f5c75a6e4e65d4593e726a780 (diff) | |
[merge] Panel fixes
(bzr r867)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | tests/TestPanel.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5e4e4fa0a..2b3725ea0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -75,6 +75,8 @@ add_executable (test-unit add_executable (test-panel TestPanel.cpp + ../src/PanelStyle.cpp + ../src/PanelStyle.h ../src/PanelView.cpp ../src/PanelView.h ../src/PanelIndicatorObjectView.cpp @@ -83,6 +85,8 @@ add_executable (test-panel ../src/PanelIndicatorObjectEntryView.h ../src/PanelTitlebarGrabAreaView.h ../src/PanelTitlebarGrabAreaView.cpp + ../src/PanelTray.cpp + ../src/PanelTray.h ../src/IndicatorObjectFactory.h ../src/IndicatorObjectProxy.h ../src/IndicatorObjectEntryProxy.h diff --git a/tests/TestPanel.cpp b/tests/TestPanel.cpp index 98be4284a..7e3cd1c07 100644 --- a/tests/TestPanel.cpp +++ b/tests/TestPanel.cpp @@ -33,8 +33,8 @@ void ThreadWidgetInit(nux::NThread* thread, void* InitData) nux::VLayout *layout = new nux::VLayout(TEXT(""), NUX_TRACKER_LOCATION); PanelView *view = new PanelView (); - view->SetMinMaxSize(1024, 24); - layout->AddView(view, 1, nux::eCenter, nux::eFix); + //view->SetMinMaxSize(1024, 24); + layout->AddView(view, 1, nux::eCenter, nux::eFull); layout->SetContentDistribution(nux::eStackCenter); nux::GetGraphicsThread()->SetLayout (layout); |
