diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-30 18:54:36 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-30 18:54:36 -0600 |
commit | bab7eebba127d603a9f8011fed290627e2a64423 (patch) | |
tree | 78559d307f528c9cde8f5fe6adaf5c3f3314b77d /ios/iosremote/InAppSettingsKit/Views/IASKPSTextFieldSpecifierViewCell.m | |
parent | fdo#74014: Brodcast only when pasting, not during file import. (diff) | |
download | core-bab7eebba127d603a9f8011fed290627e2a64423.tar.gz core-bab7eebba127d603a9f8011fed290627e2a64423.zip |
moved impress remote clients to a separate repository
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267
see: git://gerrit.libreoffice.org/impress_remote
Diffstat (limited to 'ios/iosremote/InAppSettingsKit/Views/IASKPSTextFieldSpecifierViewCell.m')
-rwxr-xr-x | ios/iosremote/InAppSettingsKit/Views/IASKPSTextFieldSpecifierViewCell.m | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ios/iosremote/InAppSettingsKit/Views/IASKPSTextFieldSpecifierViewCell.m b/ios/iosremote/InAppSettingsKit/Views/IASKPSTextFieldSpecifierViewCell.m deleted file mode 100755 index 39648c2f6d48..000000000000 --- a/ios/iosremote/InAppSettingsKit/Views/IASKPSTextFieldSpecifierViewCell.m +++ /dev/null @@ -1,49 +0,0 @@ -// -// IASKPSTextFieldSpecifierViewCell.m -// http://www.inappsettingskit.com -// -// Copyright (c) 2009-2010: -// Luc Vandal, Edovia Inc., http://www.edovia.com -// Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com -// All rights reserved. -// -// It is appreciated but not required that you give credit to Luc Vandal and Ortwin Gentz, -// as the original authors of this code. You can give credit in a blog post, a tweet or on -// a info page of your app. Also, the original authors appreciate letting them know if you use this code. -// -// This code is licensed under the BSD license that is available at: http://www.opensource.org/licenses/bsd-license.php -// - -#import "IASKPSTextFieldSpecifierViewCell.h" -#import "IASKTextField.h" -#import "IASKSettingsReader.h" - -@implementation IASKPSTextFieldSpecifierViewCell - -@synthesize label=_label, - textField=_textField; - -- (void)layoutSubviews { - [super layoutSubviews]; - CGSize labelSize = [_label sizeThatFits:CGSizeZero]; - labelSize.width = MIN(labelSize.width, _label.bounds.size.width); - - CGRect textFieldFrame = _textField.frame; - textFieldFrame.origin.x = _label.frame.origin.x + MAX(kIASKMinLabelWidth, labelSize.width) + kIASKSpacing; - if (!_label.text.length) - textFieldFrame.origin.x = _label.frame.origin.x; - textFieldFrame.size.width = _textField.superview.frame.size.width - textFieldFrame.origin.x - _label.frame.origin.x; - _textField.frame = textFieldFrame; -} - -- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - - [super setSelected:selected animated:animated]; - - // Configure the view for the selected state -} - - - - -@end |