Remove the resize box from a non-resizable window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
ActiveTranslatorsWindow::ActiveTranslatorsWindow(BRect rect, const char *name,
|
ActiveTranslatorsWindow::ActiveTranslatorsWindow(BRect rect, const char *name,
|
||||||
BList *plist)
|
BList *plist)
|
||||||
: BWindow(rect, name, B_DOCUMENT_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE)
|
: BWindow(rect, name, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE)
|
||||||
{
|
{
|
||||||
BRect rctframe = Bounds();
|
BRect rctframe = Bounds();
|
||||||
rctframe.right -= B_V_SCROLL_BAR_WIDTH;
|
rctframe.right -= B_V_SCROLL_BAR_WIDTH;
|
||||||
|
|||||||
Reference in New Issue
Block a user