Ticket #2147: fonts_preflet_margin.diff
File fonts_preflet_margin.diff, 727 bytes (added by , 17 years ago) |
---|
-
MainWindow.cpp
55 55 rect = Bounds(); 56 56 rect.top += 5; 57 57 rect.bottom -= 20 + buttonHeight; 58 rect.left += 5; 58 59 BTabView *tabView = new BTabView(rect, "tabview", B_WIDTH_FROM_LABEL); 59 60 60 61 rect = tabView->ContainerView()->Bounds().InsetByCopy(5, 8); … … 82 83 tabView->ContainerView()->ResizeBy(0, heightDiff); 83 84 } 84 85 85 ResizeTo(tabView->Bounds().Width() , tabView->Frame().bottom + 20 + buttonHeight);86 ResizeTo(tabView->Bounds().Width() + 10, tabView->Frame().bottom + 20 + buttonHeight); 86 87 view->AddChild(tabView); 87 88 fFontsView->ResizeToPreferred(); 88 89