Ticket #2117: T2117.diff

File T2117.diff, 2.3 KB (added by chico, 11 years ago)

the diff changed the TranslatorWindow.cpp, PPMMain.cpp and GIFTranslator.cpp

  • add-ons/translators/raw/main.cpp

     
    141141#endif
    142142
    143143    status_t status = LaunchTranslatorWindow(new RAWTranslator, "RAW Settings",
    144         BRect(0, 0, 225, 175));
     144        BRect(0, 0, 295, 275));
    145145    if (status != B_OK)
    146146        return 1;
    147147
  • add-ons/translators/ppm/PPMMain.cpp

     
    4040    BApplication app("application/x-vnd.hplus-ppm-translator");
    4141    BView * v = NULL;
    4242    BRect r(0,0,225,175);
     43   
    4344    if (MakeConfig(NULL, &v, &r)) {
    4445        BAlert * err = new BAlert("Error", "Something is wrong with the PPMTranslator!", "OK");
    4546        err->Go();
    4647        return 1;
    4748    }
    48     PPMWindow *w = new PPMWindow(r);
    49     v->ResizeTo(r.Width(), r.Height());
     49    PPMWindow *w = new PPMWindow(BRect(0,0,r.Width()+220,r.Height()+100));
     50    v->ResizeTo(r.Width()+220, r.Height()+100);
    5051    w->AddChild(v);
    5152    BPoint o = get_window_origin();
    5253    {
  • add-ons/translators/gif/GIFTranslator.cpp

     
    218218GIFTranslator::GIFTranslator()
    219219    : BApplication("application/x-vnd.Jules-GIFTranslator")
    220220{
    221     BRect rect(100, 100, 339, 339);
     221    BRect rect(100, 100, 469, 339);
    222222    gifwindow = new GIFWindow(rect, "GIF Settings");
    223223    gifwindow->Show();
    224224}
  • add-ons/translators/shared/TranslatorWindow.cpp

     
    8484    translator->Release();
    8585    translator = NULL;
    8686
    87     TranslatorWindow *wnd = new TranslatorWindow(rect, title);
    88     view->ResizeTo(rect.Width(), rect.Height());
     87//  TranslatorWindow *wnd = new TranslatorWindow(rect, title);
     88    TranslatorWindow *wnd = new TranslatorWindow(BRect(0,0,rect.Width()+220, rect.Height()+100), title);
     89    view->ResizeTo(rect.Width()+220, rect.Height()+100);
    8990    wnd->AddChild(view);
    9091    BPoint wndpt = B_ORIGIN;
    9192    {