summaryrefslogtreecommitdiff
path: root/tests
diff options
authorNeil Jagdish Patel <neil.patel@canonical.com>2011-02-15 11:55:14 +0000
committerNeil Jagdish Patel <neil.patel@canonical.com>2011-02-15 11:55:14 +0000
commitbe8a66cb70e6c4d232c5c56dfee3cadd220e0fe4 (patch)
tree7d89d82b41a5a0b1f52987f3ca5a0af000043224 /tests
parent8bcb0eb29b25f3c1cda9f3f919f41f3d66044d58 (diff)
parentff2929f2a9369c03399527c0a8efe8eb5f50470a (diff)
Add support for swtiching themes properly
(bzr r853.4.15)
Diffstat (limited to 'tests')
-rw-r--r--tests/TestPanel.cpp4
1 files changed, 2 insertions, 2 deletions
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);