From 1ec16200dd847de16129c42fdc46bc66e13a199e Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 24 Jul 2010 12:55:53 +0000 Subject: [PATCH] /Donnees/Dev/Haiku/haiku/src/preferences/locale/LanguageListView.h:0: nondigits in number and not hexadecimal --This line, and those below, will be ignored-- * Simplify a little the code in the draw method and make the list look prettier (the spacing was weird) M locale/LanguageListView.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37727 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/locale/LanguageListView.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/preferences/locale/LanguageListView.cpp b/src/preferences/locale/LanguageListView.cpp index db8e1043af..ce105ffe82 100644 --- a/src/preferences/locale/LanguageListView.cpp +++ b/src/preferences/locale/LanguageListView.cpp @@ -85,9 +85,8 @@ LanguageListItem::DrawItem(BView* owner, BRect frame, bool complete) } else owner->SetLowColor(owner->ViewColor()); - frame.left += 4; BRect iconFrame(frame); - iconFrame.Set(iconFrame.left, iconFrame.top + 1, iconFrame.left + 15, + iconFrame.Set(iconFrame.left - 11, iconFrame.top + 1, iconFrame.left + 4, iconFrame.top + 16); if (fIcon != NULL && fIcon->IsValid()) { @@ -96,8 +95,6 @@ LanguageListItem::DrawItem(BView* owner, BRect frame, bool complete) owner->SetDrawingMode(B_OP_COPY); } - frame.left += 16 * (OutlineLevel() + 1); - BString text = Text(); if (IsEnabled()) owner->SetHighColor(kBlack);