Fixed two warnings (caused by the layout extensions).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19304 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -820,6 +820,7 @@ BComboBox::TextInput::AlignTextRect()
|
||||
BRect textRect = TextRect();
|
||||
|
||||
switch (Alignment()) {
|
||||
default:
|
||||
case B_ALIGN_LEFT:
|
||||
textRect.OffsetTo(B_ORIGIN);
|
||||
break;
|
||||
@@ -1483,6 +1484,7 @@ BComboBox::Draw(BRect /*updateRect*/)
|
||||
GetFontHeight(&fInfo);
|
||||
|
||||
switch (fLabelAlign) {
|
||||
default:
|
||||
case B_ALIGN_LEFT:
|
||||
loc.x = bounds.left + TV_MARGIN;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user