Changeset 397


Ignore:
Timestamp:
Jun 20, 2006, 12:06:08 AM (16 years ago)
Author:
titer
Message:

Makes the info controller horizontally resizable

Location:
trunk/macosx
Files:
3 edited

Legend:

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

    r395 r397  
    2020                <integer>332</integer>
    2121        </array>
     22        <key>IBOpenObjects</key>
     23        <array>
     24                <integer>5</integer>
     25        </array>
    2226        <key>IBSystem Version</key>
    2327        <string>8I1119</string>
  • trunk/macosx/InfoWindowController.m

    r396 r397  
    3030#define RATIO_CHECK_TAG 2
    3131
     32#define MIN_WINDOW_WIDTH 270
     33#define MAX_WINDOW_WIDTH 2000
     34
    3235#define TAB_INFO_IDENT @"Info"
    3336#define TAB_STATUS_IDENT @"Status"
     
    3639
    3740//15 spacing at the bottom of each tab
    38 #define TAB_INFO_HEIGHT 196.0
     41#define TAB_INFO_HEIGHT 185.0
    3942#define TAB_STATUS_HEIGHT 199.0
    4043#define TAB_OPTIONS_HEIGHT 82.0
     
    6467    frame.size.height += difference;
    6568    [window setFrame: frame display: YES];
     69    [window setMinSize: NSMakeSize( MIN_WINDOW_WIDTH, frame.size.height )];
     70    [window setMaxSize: NSMakeSize( MAX_WINDOW_WIDTH, frame.size.height )];
    6671}
    6772
     
    332337    [window setFrame: frame display: YES animate: YES];
    333338    [view setHidden: NO];
     339    [window setMinSize: NSMakeSize( MIN_WINDOW_WIDTH, frame.size.height )];
     340    [window setMaxSize: NSMakeSize( MAX_WINDOW_WIDTH, frame.size.height )];
    334341}
    335342
Note: See TracChangeset for help on using the changeset viewer.