Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix 912ed626db [CSS] add more properties (#3466)
map new CSS properties:
- `color` on `IColorElement` (`ActivityIndicator`, `BoxView`),
  `ProgressBar` and `Switch`
- `row-gap` and `column-gap` on `Grid`
- `transform` and `transform-origin` on `VisualElement`
- `vertical-align` on `Label`

add new XF-specific CSS properties
- `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`,
  `SearchBar`
- `-xf-max-length` on `InputView` (`Editor` and `Entry`)
- `-xf-bar-background-color` and `-xf-bar-text-color` on
  `NavigationPage` and `TabbedPage`
- `-xf-orientation` on `ScrollView` and `StackLayout`
- `-xf-horizontal-scroll-bar-visibility` and
  `-xf-vertical-scroll-bar-visibility` on `ScrollView`
- `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color`
  on `Slider`
- `-xf-spacing` on `StackLayout`

This PR replaces and closes #3276

- fixes #2891
2018-08-31 11:35:56 -07:00
Stephane Delcroix e0947b2257 [CSS] border-radius property on BoxView (#2897) fixes #2895
- fixes #2895
2018-06-25 12:52:25 +01:00
Javier Suárez Ruiz 088c2f5b3b [Enhancement] Rounded corners on BoxView (#1998)
* Added CornerRadius property to BoxView

* Added CornerRadius definition

* Removed unnecessary code

* Updated macOS BoxViewRenderer

* Changed BoxView CornerRadius Property definition

* Updated CornerRadius class (added Equals, operator ==, operator !=, GetHashCode and Deconstruct)
Added CornerRadiusTypeConverter

* Fixed namespaces (removed .Core)

* Changes from PR feedback

* Changes from PR feedback

* Fixed build error
Change FormsBoxView to internal

* Fixed build error

* Fixed build errors

* Changes in MacOS BoxViewRenderer
2018-05-08 11:34:13 +02:00
Samantha Houts 5f2796e160 [Internal] Normalize Obsolete attributes (#860)
* [All] Normalize Obsolete attributes.

Make sure we include the version in which the member was deprecated and
consistent instructions for working around the deprecation, if
applicable.

* Update docs
2017-04-07 09:47:33 +02:00
Samantha Houts 5e553f6195 Platform Specifics (#301)
* Playing around with how the platform specifics interfaces etc. might work

* Sample implementation of iOS navigation translucency

* Very slightly reduced code

* Better vendor stuff

* Drop single-implemenation interfaces

* Generics on NavigationPage

* On-demand vendor stuff

* Remove functionally duplicate classes and make ControlGallery work again

* Namespace all the things. XAML test.

* Can use Effect to attach platform specific

* Attach Effect on PropertyChanging for XAML support!

* Rename IConfigPlatform interfaces for readability

* Some renaming to match the documents

* Split class files

* Clear out test-only code

* Re-namespace

* Added On method to rendered Elements

* Allow for removal of platform suffix, convenience methods on specific platforms

* Creating a gallery page for specifics

* Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP;
Add CollapsedPaneWidth specific property

* Toolbar now working with both collapse styles

* MDP now displaying Content title; toolbar routing around title

* Add a gallery for the iOS NavigationPage stuff

* Add Navigation Page as detail page to verify it works with new Toolbar options

* Make titlebar/toolbar background colors consistent

* ToolbarPlacement now working on NavigationPage

* Toolbar Placement working for tabbed and nav pages

* Fix bug where phone doesn't get default toolbar placement on start

* [Core] Add PS WindowSoftInputModeAdjust

[Core] Make Application extendable

* Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone

Remove unnecessary style indirection

Fix build errors

* [A] Add PlatformConfigurationExtensions

* SetSoftInputMode test page

* [A] SetSoftInputMode

Known issue: Status bar color does not work in AdjustResize mode

* [Core] Add PS Blur

* [iOS] Configure renderer for blur

* Add test page

* Move to blur VisualElement for broader support

* Move test pages to gallery

* Update docs

* Use lazy initializer for PlatformConfigurationRegistry
2016-08-30 10:46:14 -07:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00