pixel tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1857 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8bc669cf72
commit
4737827244
@ -4,7 +4,7 @@
|
|||||||
#include "StyledEditApp.h"
|
#include "StyledEditApp.h"
|
||||||
#include "StyledEditWindow.h"
|
#include "StyledEditWindow.h"
|
||||||
|
|
||||||
BRect windowRect(7,25,599,399);
|
BRect windowRect(7,26,507,426);
|
||||||
|
|
||||||
StyledEditApp * styled_edit_app;
|
StyledEditApp * styled_edit_app;
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ void
|
|||||||
StyledEditApp::OpenDocument()
|
StyledEditApp::OpenDocument()
|
||||||
{
|
{
|
||||||
new StyledEditWindow(windowRect,fNext_Untitled_Window++);
|
new StyledEditWindow(windowRect,fNext_Untitled_Window++);
|
||||||
windowRect.OffsetBy(20,20); // todo: wrap around screen
|
windowRect.OffsetBy(15,15); // todo: wrap around screen
|
||||||
fWindowCount++;
|
fWindowCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ void
|
|||||||
StyledEditApp::OpenDocument(entry_ref * ref)
|
StyledEditApp::OpenDocument(entry_ref * ref)
|
||||||
{
|
{
|
||||||
new StyledEditWindow(windowRect,ref);
|
new StyledEditWindow(windowRect,ref);
|
||||||
windowRect.OffsetBy(20,20); // todo: wrap around screen
|
windowRect.OffsetBy(15,15); // todo: wrap around screen
|
||||||
fWindowCount++;
|
fWindowCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ StyledEditWindow::InitWindow()
|
|||||||
|
|
||||||
viewFrame.top = fMenuBar->Bounds().Height()+1; //021021
|
viewFrame.top = fMenuBar->Bounds().Height()+1; //021021
|
||||||
viewFrame.right -= B_V_SCROLL_BAR_WIDTH;
|
viewFrame.right -= B_V_SCROLL_BAR_WIDTH;
|
||||||
viewFrame.left = B_V_SCROLL_BAR_WIDTH-15; //021021
|
viewFrame.left = 0; //021021
|
||||||
viewFrame.bottom -= B_H_SCROLL_BAR_HEIGHT;
|
viewFrame.bottom -= B_H_SCROLL_BAR_HEIGHT;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user