From 1fd91b7ffd48e2b21ab98e3865ff94201ac59544 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Tue, 17 Aug 2010 17:11:11 +0000 Subject: [PATCH] Small compilation fixes for coming layout changes... (really!!) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38202 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/backgrounds/BackgroundsView.cpp | 2 +- src/preferences/keymap/KeymapWindow.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/preferences/backgrounds/BackgroundsView.cpp b/src/preferences/backgrounds/BackgroundsView.cpp index 2d31df008e..751b4bcf4d 100644 --- a/src/preferences/backgrounds/BackgroundsView.cpp +++ b/src/preferences/backgrounds/BackgroundsView.cpp @@ -144,7 +144,7 @@ BackgroundsView::BackgroundsView() .AddGroup(B_VERTICAL, 20) .AddGroup(B_HORIZONTAL, 0) .AddGlue() - .AddGrid(0, 0) + .AddGrid(0, 0, 1) .Add(fTopLeft, 0, 0) .Add(fTop, 1, 0) .Add(fTopRight, 2, 0) diff --git a/src/preferences/keymap/KeymapWindow.cpp b/src/preferences/keymap/KeymapWindow.cpp index 12ca0dd4fd..c64cce3cfb 100644 --- a/src/preferences/keymap/KeymapWindow.cpp +++ b/src/preferences/keymap/KeymapWindow.cpp @@ -508,7 +508,8 @@ KeymapWindow::_CreateMapLists() .Add(new BStringView("system", B_TRANSLATE("System:"))) .Add(systemScroller, 3) .Add(new BStringView("user", B_TRANSLATE("User:"))) - .Add(userScroller); + .Add(userScroller) + .TopView(); }