From 3b25264a9b64029f75602ed2c04cbc83f4cf9091 Mon Sep 17 00:00:00 2001 From: magiblot Date: Tue, 10 Oct 2023 01:10:14 +0200 Subject: [PATCH] tvdemo: move heap view to the status bar This is how the original design was. However, the heap view had been moved to the menu bar in e7f808f45d571d9cd0717f2560045e3be3b55fb7 due to a misunderstanding of how views react to resize events. --- examples/tvdemo/tvdemo1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tvdemo/tvdemo1.cpp b/examples/tvdemo/tvdemo1.cpp index e21ef503..12ecc1f7 100644 --- a/examples/tvdemo/tvdemo1.cpp +++ b/examples/tvdemo/tvdemo1.cpp @@ -88,9 +88,9 @@ TVDemo::TVDemo( int argc, char **argv ) : insert(clock); r = getExtent(); // Create the heap view. - r.a.x = r.b.x - 23; r.b.x = r.a.x + 13; r.b.y = r.a.y + 1; + r.a.x = r.b.x - 13; r.a.y = r.b.y - 1; heap = new THeapView( r ); - heap->growMode = gfGrowLoX | gfGrowHiX; + heap->growMode = gfGrowAll; insert(heap); while (--argc > 0) // Display files specified