/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
This commit is contained in:
@@ -85,9 +85,8 @@ LanguageListItem::DrawItem(BView* owner, BRect frame, bool complete)
|
|||||||
} else
|
} else
|
||||||
owner->SetLowColor(owner->ViewColor());
|
owner->SetLowColor(owner->ViewColor());
|
||||||
|
|
||||||
frame.left += 4;
|
|
||||||
BRect iconFrame(frame);
|
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);
|
iconFrame.top + 16);
|
||||||
|
|
||||||
if (fIcon != NULL && fIcon->IsValid()) {
|
if (fIcon != NULL && fIcon->IsValid()) {
|
||||||
@@ -96,8 +95,6 @@ LanguageListItem::DrawItem(BView* owner, BRect frame, bool complete)
|
|||||||
owner->SetDrawingMode(B_OP_COPY);
|
owner->SetDrawingMode(B_OP_COPY);
|
||||||
}
|
}
|
||||||
|
|
||||||
frame.left += 16 * (OutlineLevel() + 1);
|
|
||||||
|
|
||||||
BString text = Text();
|
BString text = Text();
|
||||||
if (IsEnabled())
|
if (IsEnabled())
|
||||||
owner->SetHighColor(kBlack);
|
owner->SetHighColor(kBlack);
|
||||||
|
|||||||
Reference in New Issue
Block a user