Ticket #2413: Ticket2413.diff

File Ticket2413.diff, 727 bytes (added by chico, 12 years ago)

enlarge the menu

  • src/add-ons/translators/tiff/TIFFView.cpp

     
    9999//  add_menu_item(menu, COMPRESSION_JP2000, "JPEG2000", currentCompression);
    100100
    101101    fCompressionMF = new BMenuField(BRect(20, 50, 215, 70), "compression",
    102                                     "Use Compression:", menu, true);
    103     fCompressionMF->ResizeToPreferred();
     102                                    "Use Compression:", menu,
     103                                    true,B_FOLLOW_LEFT_RIGHT);
     104//  fCompressionMF->ResizeToPreferred();
    104105    fCompressionMF->SetDivider(
    105106        fCompressionMF->StringWidth(fCompressionMF->Label()) + 7);
    106107    AddChild(fCompressionMF);