Set view non-editable. (The cursor would show up and blink if one clicked the text view.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41255 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -49,6 +49,7 @@ OverlayView::OverlayView(BRect frame)
|
|||||||
"Drag the replicant to the Desktop.");
|
"Drag the replicant to the Desktop.");
|
||||||
fText->SetText(text);
|
fText->SetText(text);
|
||||||
fText->SetAlignment(B_ALIGN_CENTER);
|
fText->SetAlignment(B_ALIGN_CENTER);
|
||||||
|
fText->MakeEditable(false);
|
||||||
fText->MakeSelectable(false);
|
fText->MakeSelectable(false);
|
||||||
fText->MoveBy(0, (Bounds().bottom - fText->TextRect().bottom) / 2);
|
fText->MoveBy(0, (Bounds().bottom - fText->TextRect().bottom) / 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user