mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
feat: move the filter bar's search field one pixel up (#4367)
This commit is contained in:
parent
669faf7474
commit
30d3ce872f
2 changed files with 12 additions and 0 deletions
|
@ -170,6 +170,9 @@
|
||||||
<constraint firstAttribute="bottom" secondItem="5" secondAttribute="bottom" constant="5" id="fKx-Ct-3z1"/>
|
<constraint firstAttribute="bottom" secondItem="5" secondAttribute="bottom" constant="5" id="fKx-Ct-3z1"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="10" secondAttribute="trailing" constant="5" id="s5c-0G-9tM"/>
|
<constraint firstAttribute="trailing" secondItem="10" secondAttribute="trailing" constant="5" id="s5c-0G-9tM"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<connections>
|
||||||
|
<outlet property="searchFieldVerticalConstraint" destination="ecz-eJ-l9b" id="hzc-vg-t2p"/>
|
||||||
|
</connections>
|
||||||
<point key="canvasLocation" x="139" y="150"/>
|
<point key="canvasLocation" x="139" y="150"/>
|
||||||
</customView>
|
</customView>
|
||||||
<menu title="Menu" id="22" userLabel="SearchFilterMenu">
|
<menu title="Menu" id="22" userLabel="SearchFilterMenu">
|
||||||
|
|
|
@ -4,8 +4,17 @@
|
||||||
|
|
||||||
#import "FilterBarView.h"
|
#import "FilterBarView.h"
|
||||||
|
|
||||||
|
@interface FilterBarView ()
|
||||||
|
@property(weak) IBOutlet NSLayoutConstraint* searchFieldVerticalConstraint;
|
||||||
|
@end
|
||||||
|
|
||||||
@implementation FilterBarView
|
@implementation FilterBarView
|
||||||
|
|
||||||
|
- (void)awakeFromNib
|
||||||
|
{
|
||||||
|
_searchFieldVerticalConstraint.constant = -.5;
|
||||||
|
}
|
||||||
|
|
||||||
- (BOOL)mouseDownCanMoveWindow
|
- (BOOL)mouseDownCanMoveWindow
|
||||||
{
|
{
|
||||||
return NO;
|
return NO;
|
||||||
|
|
Loading…
Reference in a new issue