Changeset 1120


Ignore:
Timestamp:
Nov 23, 2006, 2:37:54 AM (15 years ago)
Author:
livings124
Message:

scroll box for torrent comment

Location:
trunk/macosx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/English.lproj/InfoWindow.nib/classes.nib

    r1119 r1120  
    2020            OUTLETS = {
    2121                fAnnounceField = NSTextField;
    22                 fCommentField = NSTextField;
     22                fCommentView = NSTextView;
    2323                fConnectedPeersField = NSTextField;
    2424                fCreatorField = NSTextField;
  • trunk/macosx/InfoWindowController.h

    r1119 r1120  
    3939    IBOutlet NSTextField * fNameField, * fSizeField, * fTrackerField,
    4040                        * fAnnounceField, * fPieceSizeField, * fPiecesField,
    41                         * fHashField, * fCommentField,
     41                        * fHashField,
    4242                        * fTorrentLocationField, * fDataLocationField,
    4343                        * fDateStartedField,
     
    4545                        * fStateField,
    4646                        * fDownloadedValidField, * fDownloadedTotalField, * fUploadedTotalField,
    47                         * fRatioField, * fSwarmSpeedField;
     47                        * fRatioField, * fSwarmSpeedField;
     48    IBOutlet NSTextView * fCommentView;
    4849    IBOutlet NSButton * fRevealDataButton, * fRevealTorrentButton;
    4950
  • trunk/macosx/InfoWindowController.m

    r1119 r1120  
    4040
    4141//15 spacing at the bottom of each tab
    42 #define TAB_INFO_HEIGHT 255.0
     42#define TAB_INFO_HEIGHT 297.0
    4343#define TAB_ACTIVITY_HEIGHT 109.0
    4444#define TAB_PEERS_HEIGHT 260.0
     
    158158        [fHashField setStringValue: @""];
    159159        [fHashField setToolTip: nil];
    160         [fCommentField setStringValue: @""];
    161         [fCommentField setToolTip: @""];
     160        [fCommentView setString: @""];
    162161       
    163162        [fCreatorField setStringValue: @""];
     
    177176        [fAnnounceField setSelectable: NO];
    178177        [fHashField setSelectable: NO];
    179         [fCommentField setSelectable: NO];
    180178        [fCreatorField setSelectable: NO];
    181179        [fTorrentLocationField setSelectable: NO];
     
    220218        [fHashField setStringValue: hashString];
    221219        [fHashField setToolTip: hashString];
    222         [fCommentField setStringValue: commentString];
    223         [fCommentField setToolTip: commentString];
     220        [fCommentView setString: commentString];
    224221       
    225222        [fCreatorField setStringValue: [torrent creator]];
     
    245242        [fAnnounceField setSelectable: YES];
    246243        [fHashField setSelectable: YES];
    247         [fCommentField setSelectable: YES];
     244        [fCommentView setSelectable: YES];
    248245        [fCreatorField setSelectable: YES];
    249246        [fTorrentLocationField setSelectable: YES];
Note: See TracChangeset for help on using the changeset viewer.