Steven Kirk
3ee48b25e4
Fix image arrange.
`Image` was calculating its desired size correctly according to the value of `Stretch` but then was not applying that calculation to the arrange pass.
Fixes #2260
7 years ago
Steven Kirk
9501da85fa
Added failing tests for #2260 .
7 years ago
danwalmsley
0f94a0012d
Merge pull request #2255 from AvaloniaUI/glx2
GLX
7 years ago
danwalmsley
06ad9c0461
Merge branch 'master' into glx2
7 years ago
Nikita Tsukanov
f1e3fb8d22
[X11] Always use a separate child window for rendering if OpenGL is available
7 years ago
Nikita Tsukanov
9eef037079
[X11] Don't use XSync with discard=true from the main display connection
7 years ago
Steven Kirk
c440e4dcec
Merge pull request #2254 from Kermalis/master
Update NumericUpDown Text when losing focus
7 years ago
Steven Kirk
b66b63dc33
Merge branch 'master' into master
7 years ago
Steven Kirk
d3e8752f15
Make ObservableStreamPlugin work with value types.
Use reflection to call `Observable.Select` on the source observable to box the value.
8 years ago
Steven Kirk
f3029d3346
Added failing test for #2203 .
8 years ago
Steven Kirk
418bd43e77
Merge pull request #2253 from AvaloniaUI/fixes/1999-remove-valid-invalid-pseudoclasses
Remove :valid and :invalid pseudoclasses.
8 years ago
Nikita Tsukanov
4cdf933fe2
Merge remote-tracking branch 'origin/master' into glx2
8 years ago
Nikita Tsukanov
ed9dff6b8f
[X11] Use GLX and transparent visuals when possible
8 years ago
Steven Kirk
dafced0366
Merge branch 'master' into fixes/1999-remove-valid-invalid-pseudoclasses
8 years ago
Nikita Tsukanov
6badd34c6a
[X11] Prevent possible blocking calls to XNextEvent
8 years ago
Jumar Macato
e8f4128efd
Merge pull request #2251 from AvaloniaUI/pr-template
Updated PR template.
8 years ago
Jumar Macato
5f6b77e120
Merge branch 'master' into pr-template
8 years ago
Kermalis
c112ce30c5
Update NumericUpDown Text when losing focus
8 years ago
Steven Kirk
d75af69307
Fix tests.
8 years ago
Steven Kirk
b91df127ea
Remove :valid and :invalid pseudoclasses.
`:valid` and `:invalid` pseudoclasses are being added to all `ContentControls` simply in order to show/hide the `ContentPresenter` in `CheckBox`. Instead of this, add some `ObjectConverters` and use them to set the visibility of the `ContentPresenter.`
Also renamed the converters in `StringConverters` to add an `Is` prefix as the `ObjectConverters` didn't look right as just `Null` and `NotNull`.
8 years ago
Wiesław Šoltés
948d17113c
Merge pull request #2252 from wieslawsoltes/Badges
Added NuGet and MyGet badges
8 years ago
Steven Kirk
9add4f325f
Merge branch 'master' into Badges
8 years ago
Nikita Tsukanov
591ecc4ded
[RENDER] Don't crash on Paint call when renderer is already disposed
8 years ago
Wiesław Šoltés
9437314a6d
Update readme.md
8 years ago
Wiesław Šoltés
2f95655a24
Update readme.md
8 years ago
Wiesław Šoltés
86ed01d08c
Added NuGet and MyGet badges
8 years ago
Steven Kirk
2b6a65a199
Merge pull request #2067 from ahopper/fix-pointerleave-not-always-set
allow for control being removed from visual tree in :pointerover logic
8 years ago
Steven Kirk
6f2ffb2f3d
Updated PR template.
8 years ago
Steven Kirk
bf81aaa7c7
Merge branch 'master' into fix-pointerleave-not-always-set
8 years ago
Steven Kirk
2451f3b30f
Merge pull request #2218 from AvaloniaUI/fixes/2191-tabcontrol-contentcontrolmixin
Register TabControl with ContentControlMixin.
8 years ago
Steven Kirk
3b9702bfae
Merge branch 'master' into fixes/2191-tabcontrol-contentcontrolmixin
8 years ago
Steven Kirk
9bd182d8c5
Merge pull request #2250 from AvaloniaUI/refactor/window-position
Refactored Window Positioning
8 years ago
Steven Kirk
b5fac96d70
Fixed whitespace nit.
8 years ago
Steven Kirk
cf504b4e08
Fix nonsensical comment.
8 years ago
Steven Kirk
abfe467784
Use Window.Owner as owner in Show.
We probably want to change this and pass the owner to the `Show` method as we do for dialogs: having owner specified in different places for dialogs vs non-dialogs is not a good API.
8 years ago
Steven Kirk
13aafcc540
Show dialog centered on owner.
8 years ago
Steven Kirk
10522a95a6
Fix PointToClient logic.
8 years ago
Steven Kirk
db44faf4ad
Make ShowDialog respect WindowStartupLocation.
`SetWindowStartupLocation` needs to be called _after_ the window is shown as is done in `Show`. In addition, the owner window needs to be passed so we can get the correct screen.
Renamed the `parent` parameter to `ShowDialog` to `owner` as its `WindowStartupLocation.CenterOwner` not `CenterParent`.
8 years ago
Steven Kirk
9a2f828ba6
Modify DialogsPage to allow testing of startup location.
8 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
8 years ago
Steven Kirk
580a7adbe4
Added PixelPoint and PixelRect.
In addition to `PixelSize`.
8 years ago
Steven Kirk
009b9a1ae7
Make PixelSize accept a scaling factor for conversions.
For conversions between `PixelSize` and `Size` use a scaling factor by default; rename the DPI overloads to have a `WithDpi` suffix.
8 years ago
Jumar Macato
6a44d8e004
Merge branch 'master' into datagrid-integration
8 years ago
Jumar Macato
50a3877c42
Merge pull request #2248 from DmitryZhelnin/fix-numericupdown
Fix ValueChanged event of NumericUpDown
8 years ago
Jumar Macato
9a5f67f3dc
Merge branch 'master' into datagrid-integration
8 years ago
Dmitry Zhelnin
985a3e7f2e
fix ValueChanged event of NumericUpDown
8 years ago
Steven Kirk
ccf82d011a
Merge branch 'master' into fix-pointerleave-not-always-set
8 years ago
Steven Kirk
65234e8e43
Allow for null renderer.
This can happen in unit tests.
8 years ago
danwalmsley
0b3a3e1668
Merge pull request #2011 from kekekeks/x11
X11 backend
8 years ago
Nikita Tsukanov
fb783c98db
Reformat X11Atoms.cs
8 years ago