Registrar Shutdown window: Make Font Size sensitive
* Removed the WordWrap from the text view, until we computed the TextHeight(), then put it again, once the textview got resized. I think it might be hiding an other bug in the way we compute TextHeight(), but it seems to be a workaround. (Fixing?) Ticket #169 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32501 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -267,7 +267,7 @@ public:
|
|||||||
fTextView->SetFontAndColor(be_plain_font, B_FONT_ALL, &textColor);
|
fTextView->SetFontAndColor(be_plain_font, B_FONT_ALL, &textColor);
|
||||||
fTextView->MakeEditable(false);
|
fTextView->MakeEditable(false);
|
||||||
fTextView->MakeSelectable(false);
|
fTextView->MakeSelectable(false);
|
||||||
fTextView->SetWordWrap(true);
|
fTextView->SetWordWrap(false);
|
||||||
fRootView->AddChild(fTextView);
|
fRootView->AddChild(fTextView);
|
||||||
|
|
||||||
// kill app button
|
// kill app button
|
||||||
@@ -373,6 +373,8 @@ public:
|
|||||||
textHeight - 1);
|
textHeight - 1);
|
||||||
fTextView->SetTextRect(fTextView->Bounds());
|
fTextView->SetTextRect(fTextView->Bounds());
|
||||||
|
|
||||||
|
fTextView->SetWordWrap(true);
|
||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
fKillAppButton->MoveTo(rightPartX, nonDefaultButtonsY);
|
fKillAppButton->MoveTo(rightPartX, nonDefaultButtonsY);
|
||||||
fKillAppButton->ResizeTo(buttonWidth - 1, buttonHeight - 1);
|
fKillAppButton->ResizeTo(buttonWidth - 1, buttonHeight - 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user