trivial adjustments to the search field
This commit is contained in:
parent
ffa9d6b125
commit
265eeac33a
|
@ -122,7 +122,7 @@ typedef enum
|
||||||
#define WINDOW_REGULAR_WIDTH 468.0
|
#define WINDOW_REGULAR_WIDTH 468.0
|
||||||
|
|
||||||
#define SEARCH_FILTER_MIN_WIDTH 55.0
|
#define SEARCH_FILTER_MIN_WIDTH 55.0
|
||||||
#define SEARCH_FILTER_MAX_WIDTH 115.0
|
#define SEARCH_FILTER_MAX_WIDTH 110.0
|
||||||
|
|
||||||
#define UPDATE_UI_SECONDS 1.0
|
#define UPDATE_UI_SECONDS 1.0
|
||||||
#define AUTO_SPEED_LIMIT_SECONDS 5.0
|
#define AUTO_SPEED_LIMIT_SECONDS 5.0
|
||||||
|
@ -584,9 +584,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||||
//save history
|
//save history
|
||||||
[self updateTorrentHistory];
|
[self updateTorrentHistory];
|
||||||
|
|
||||||
[fDisplayedTorrents removeAllObjects];
|
|
||||||
[fTorrents removeAllObjects];
|
|
||||||
|
|
||||||
//remaining calls the same as dealloc
|
//remaining calls the same as dealloc
|
||||||
[fInfoController release];
|
[fInfoController release];
|
||||||
[fMessageController release];
|
[fMessageController release];
|
||||||
|
@ -3612,9 +3609,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||||
//make sure it is not too long
|
//make sure it is not too long
|
||||||
if (frame.size.width > SEARCH_FILTER_MAX_WIDTH)
|
if (frame.size.width > SEARCH_FILTER_MAX_WIDTH)
|
||||||
{
|
{
|
||||||
float different = frame.size.width - SEARCH_FILTER_MAX_WIDTH;
|
frame.origin.x += frame.size.width - SEARCH_FILTER_MAX_WIDTH;
|
||||||
frame.origin.x += different;
|
frame.size.width = SEARCH_FILTER_MAX_WIDTH;
|
||||||
frame.size.width -= different;
|
|
||||||
}
|
}
|
||||||
[fSearchFilterField setFrame: frame];
|
[fSearchFilterField setFrame: frame];
|
||||||
}
|
}
|
||||||
|
|
|
@ -264,14 +264,6 @@
|
||||||
<key>SUPERCLASS</key>
|
<key>SUPERCLASS</key>
|
||||||
<string>NSObject</string>
|
<string>NSObject</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
|
||||||
<key>CLASS</key>
|
|
||||||
<string>FilterButton</string>
|
|
||||||
<key>LANGUAGE</key>
|
|
||||||
<string>ObjC</string>
|
|
||||||
<key>SUPERCLASS</key>
|
|
||||||
<string>NSButton</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>ACTIONS</key>
|
<key>ACTIONS</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -310,6 +302,14 @@
|
||||||
<key>SUPERCLASS</key>
|
<key>SUPERCLASS</key>
|
||||||
<string>NSTableView</string>
|
<string>NSTableView</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CLASS</key>
|
||||||
|
<string>FilterButton</string>
|
||||||
|
<key>LANGUAGE</key>
|
||||||
|
<string>ObjC</string>
|
||||||
|
<key>SUPERCLASS</key>
|
||||||
|
<string>NSButton</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CLASS</key>
|
<key>CLASS</key>
|
||||||
<string>ActionPopUpButton</string>
|
<string>ActionPopUpButton</string>
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
<key>IBOldestOS</key>
|
<key>IBOldestOS</key>
|
||||||
<integer>5</integer>
|
<integer>5</integer>
|
||||||
<key>IBOpenObjects</key>
|
<key>IBOpenObjects</key>
|
||||||
<array/>
|
<array>
|
||||||
|
<integer>1603</integer>
|
||||||
|
</array>
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
<string>9B18</string>
|
<string>9B18</string>
|
||||||
<key>targetFramework</key>
|
<key>targetFramework</key>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue