Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-01[Mac] Move appearance setting calls outside ViewDidChangeEffectiveApperance, ↵Dominique Louis
so it works on earlier MacOS versions.
2019-04-08[Mac] Centralise string resources.Dominique Louis
2019-03-06[mac] Remove last error handlingEric Maupin
This all needs to move to the EditorContainer left view
2019-03-06[mac] Overhaul some layoutEric Maupin
DefaultControlHeight had ended up everywhere with no real meaning attached to it, used in some places with manual offsets. It was never clear whether it was the row size or a control size. Given the design doesn't always have matching heights for controls, we should just do away with this illusion. Additionally each editor had a manual offset trying to account for the property button and associated spacing on the right and wasn't consistent between 32 or 33. We do away with all that by moving the property button into the EditorContainer with a new flag on IEditorView denoting whether we should have a property button or not. Now all editors should not concern themselves with right inset and match width fully. Unfortunately the design sometimes has inconsistent top/bottom insets that vary from 3/3 to 3.5/3.5. I'd like to make them consistent, so we can set them at the EditorContainer level but for now the best thing that can be done is inset on a per editor basis. This also attempts to address labels and sometimes the property button not being vertically centered on the first editors. Now, the label is CenterY on the FirstKeyView which should center it vertically against the topmost input. The property button is now also CenterYd to the label, so it similarlly should auto center against the first row of input. If this proves to be not flexible enough we can revisit. This also makes more controls consistent with a control size of Small and uses the system provided mechanism for making sure the font matches so it fits correctly. These new guidelines should be used: - Rows have a height of 24 - Editors should match width - Single-row editors should CenterY on the parent, match width -6 - Multi-row editors should inset appropriately at -3/-3 - We should avoid so many manually calculated offsets going forward
2019-03-02Enabled must be set for ReadOnly to look right. Also fixes InputMode enablement.Dominique Louis
2019-02-20Resize Point and Rectangle controls based on overall width.Dominique Louis
2019-01-11[mac] Revamp themingEric Maupin
This commit: - Drops outdated CG* editors - Drops ThemeManager - Introduces IHostResourceProvider - Moves all images to new API - Starts implementing colors
2018-12-02[Mac] Remove DoConstraints dependency and use NSLayoutConstraint.Create ↵Dominique Louis
calls directly. Should be slightly faster on startup.
2018-12-02[Mac] Fix vertical alignment of labels in resource lists.Dominique Louis
2018-08-08[Mac] Initial CommonRatio implementation.Dominique Louis
2018-04-20Hooking up PropertyButton to ResetCommand.Dominique Louis
2018-03-19Fixes to Support Nullables On MacDominique Louis
2017-12-07UI Tweaks to standardise RowHeight and ControlHeight.Dominique Louis
2017-12-02Add CommonRectangle Editors. Needed in UITweaks.Dominique Louis
2017-11-28Replace strongly-typed resource usage with string.Format callsBertrand Le Roy
This removes the requirement to use the netfx-System.StringResources package to codegen strongly-typed helpers, and fixes a build problem when the projects are included in other solutions. It is a workaround.
2017-10-23[Mac]Initial implementation of ErrorButton.Dominique Louis
2017-10-23Support NSAppearance Themes.Dominique Louis
2017-10-23Initial Localisation pass.Dominique Louis
2017-10-16Ported the SpinButton control and renamed it to NumericSpinEditor, added ↵Dominique Louis
keyup and down support.
2017-08-03Initial Accessibility support for our editors.Dominique Louis
2017-07-07Make UnfocusableTextView an UnfocusableTextField to appease the layering gods.Dominique Louis
2017-06-15By setting the NSTextView Selectable property to false, tabbing amongst ↵Dominique Louis
fields works correctly.
2017-06-15[Mac] Mostly work around tabbing issueAlex Corrado
There seems to be an issue with the way the key view loop is calculated with the NSTableView. This patch fixes it 95%, but I can still cause it to break if I scroll the table really quickly and then go back to where I was and attempt to keep tabbing forward/backward. This workaround overrides a private selector, as suggested by: https://forums.developer.apple.com/thread/16528#184148
2017-06-15Try to get the tab order working, but with not much joy :(.Dominique Louis
2017-05-22[Mac] Update rect properties when switching fieldsEric Maupin
2017-05-22[Mac] Allow rect subclass define own ctorEric Maupin
This moves the reflection based rectangle ctor to a virtual as a single point of attachment from the 4 editors and allows subclasses to override it providing a faster update and a way to adjust if the params are different.
2017-05-17Make CGRect editor strongly typed.Dominique Louis
2017-05-17Make RectangleEditor Generic.Dominique Louis