From 4b6c586b03990d6c8d02a7ccb150fe4ad8b3fb89 Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Tue, 12 Jan 2010 22:15:23 +0000 Subject: [PATCH] * Fixes ticket #5204. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35039 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/translators/tga/TGAView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/add-ons/translators/tga/TGAView.cpp b/src/add-ons/translators/tga/TGAView.cpp index 07794f1520..6316ed894e 100644 --- a/src/add-ons/translators/tga/TGAView.cpp +++ b/src/add-ons/translators/tga/TGAView.cpp @@ -52,6 +52,7 @@ TGAView::TGAView(const BRect& frame, const char* name, uint32 resize, fpchkIgnoreAlpha->SetValue(val); fpchkIgnoreAlpha->SetViewColor(ViewColor()); AddChild(fpchkIgnoreAlpha); + fpchkIgnoreAlpha->ResizeToPreferred(); fpchkRLE = new BCheckBox(BRect(10, 67, 180, 84), "Save with RLE Compression", "Save with RLE Compression", @@ -60,6 +61,7 @@ TGAView::TGAView(const BRect& frame, const char* name, uint32 resize, fpchkRLE->SetValue(val); fpchkRLE->SetViewColor(ViewColor()); AddChild(fpchkRLE); + fpchkRLE->ResizeToPreferred(); }