Flycut/UI/RoundRecTextField.h
Mark Jerde b85e1375f8 Bezel layout adjustments
Rewrote RoundRecTextField to allow Auto Layout with leading
and trailing margins to dynamically size the 'n of m' bubble
which lays the groundwork for supporting 999 clippings without
looking bad. RoundRecTextField was pretty self-critical anyway.

The 'n of m' bubble was off-center previously, so now it is centered.

The bezel content was lacking in margins to the background shading,
so those have been fixed up now.
2022-01-23 21:47:21 -06:00

20 lines
522 B
Objective-C
Executable file

//
// RoundRecTextField.h
// Flycut
//
// Flycut by Gennadiy Potapov and contributors. Based on Jumpcut by Steve Cook.
// Copyright 2011 General Arcade. All rights reserved.
//
// This code is open-source software subject to the MIT License; see the homepage
// at <https://github.com/TermiT/Flycut> for details.
//
#import <AppKit/AppKit.h>
@interface RoundRecTextField : NSView
@property (nonatomic, nonnull, readonly) NSTextField *textField;
@property (nonatomic, nonnull, readonly) NSView *background;
@end