From 85b764c1794e34a685591af922fc64bf8ef3c0ca Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 14 Jun 2016 16:11:12 -0400 Subject: [PATCH] (html,css) Improve forms Improved pseudo-input and used md-inline-form --- UI/PreferencesUI/UIxPreferences.m | 5 ++ .../ContactsUI/UIxContactEditorTemplate.wox | 16 +++---- .../ContactsUI/UIxContactViewTemplate.wox | 48 +++++-------------- .../PreferencesUI/UIxFilterEditor.wox | 19 +++++--- UI/Templates/PreferencesUI/UIxPreferences.wox | 12 ++--- .../components/pseudo-input/pseudo-input.scss | 10 ++++ 6 files changed, 53 insertions(+), 57 deletions(-) diff --git a/UI/PreferencesUI/UIxPreferences.m b/UI/PreferencesUI/UIxPreferences.m index 98808a6a9..8eb158bd1 100644 --- a/UI/PreferencesUI/UIxPreferences.m +++ b/UI/PreferencesUI/UIxPreferences.m @@ -1243,6 +1243,11 @@ static NSArray *reminderValues = nil; return fontSizes; } +- (NSString *) itemFontSizeText +{ + return [NSString stringWithFormat: @"%@ px", item]; +} + // // Used by templates // diff --git a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox index 8fe690509..4f204aab7 100644 --- a/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactEditorTemplate.wox @@ -32,7 +32,7 @@ -
+