These are chat archives for AvaloniaUI/Avalonia

4th
Aug 2017
Matthijs ter Woord
@mterwoord
Aug 04 2017 13:41
what's the avalonia equivalent of the wpf viewbox?
Nikita Tsukanov
@kekekeks
Aug 04 2017 13:51
LayoutTransformControl, I guess
BTW
we DON'T have the infrastructure that allows mouse input transformation
Matthijs ter Woord
@mterwoord
Aug 04 2017 13:53
i have a <Path> which consists of an icon, i want to size button-sized
Nikita Tsukanov
@kekekeks
Aug 04 2017 14:03
I think you can stretch it directly
Matthijs ter Woord
@mterwoord
Aug 04 2017 14:18
yes! :)
thanks!
how does {Static} work?
never mind, was trying to rotate something in place, but couldn't get it work nicely.
Matthijs ter Woord
@mterwoord
Aug 04 2017 14:24
got it, just ike in wpf, but i expected the RelativePoint to be in default namespace.
Matthijs ter Woord
@mterwoord
Aug 04 2017 14:52
the designer preview is rendered outside ofthe devenv process, right?
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 17:00
@grokys I have found some rendering bug, some controls are not rendered when using RenderTransform and zooming in
and out too
Steven Kirk
@grokys
Aug 04 2017 17:02
oh interesting. i assume this is on master? i wonder if scenegraph fixes it?
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 17:02
on master
also have you seen this AvaloniaUI/Avalonia#1080
Steven Kirk
@grokys
Aug 04 2017 17:03
well master uses ImmediateRenderer which will still be supported even after scenegraph is merged, so we need to fix it anyway
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 17:03
the controls are not visibile and are not hit tested in debug tools
but remain in visual tree
Steven Kirk
@grokys
Aug 04 2017 17:04
i saw #1080 briefly while i was on vacation but then forgot about it...
interesting
Matthijs ter Woord
@mterwoord
Aug 04 2017 17:31
is is possible to change Classes from within code?
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 17:42
@grokys another repro, I did try using Rectangle instead of TextBlock and same issue is present
Steven Kirk
@grokys
Aug 04 2017 17:44
i think it was introduced with portable.xaml changes
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 17:46
It may be related to Slider issue which first occurred after portable.xaml merge
Steven Kirk
@grokys
Aug 04 2017 17:48
ah sorry, yeah i'm talking about the slider issue
i know what the slider issue is now
fix incoming for that at least
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 17:50
:smile:
danwalmsley
@danwalmsley
Aug 04 2017 17:51
@mterwoord you mean for styling classes
Steven Kirk
@grokys
Aug 04 2017 18:04
@mterwoord sure - control.Classes.Add("foo");
@wieslawsoltes PR for ya #1084
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 18:06
thanks
Wiesław Šoltés
@wieslawsoltes
Aug 04 2017 18:37
2017-08-04_20-35-48.gif
@grokys fixed!
Steven Kirk
@grokys
Aug 04 2017 21:43
awesome!
Steven Kirk
@grokys
Aug 04 2017 22:44
i started VS2017 17 minutes ago and it's been frozen ever since
oh speak of the devil, it's back