Style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37755 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -461,7 +461,6 @@ TermWindow::MessageReceived(BMessage *message)
|
|||||||
case MENU_PREF_OPEN:
|
case MENU_PREF_OPEN:
|
||||||
if (!fPrefWindow) {
|
if (!fPrefWindow) {
|
||||||
fPrefWindow = new PrefWindow(this);
|
fPrefWindow = new PrefWindow(this);
|
||||||
//fPrefWindow->
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
fPrefWindow->Activate();
|
fPrefWindow->Activate();
|
||||||
@@ -1009,7 +1008,8 @@ TermWindow::_ResizeView(TermView *view)
|
|||||||
minimumHeight + MIN_ROWS * fontHeight - 1,
|
minimumHeight + MIN_ROWS * fontHeight - 1,
|
||||||
minimumHeight + MAX_ROWS * fontHeight - 1);
|
minimumHeight + MAX_ROWS * fontHeight - 1);
|
||||||
|
|
||||||
float width, height;
|
float width;
|
||||||
|
float height;
|
||||||
view->Parent()->GetPreferredSize(&width, &height);
|
view->Parent()->GetPreferredSize(&width, &height);
|
||||||
width += B_V_SCROLL_BAR_WIDTH;
|
width += B_V_SCROLL_BAR_WIDTH;
|
||||||
// NOTE: Width is one pixel too small, since the scroll view
|
// NOTE: Width is one pixel too small, since the scroll view
|
||||||
|
|||||||
Reference in New Issue
Block a user