These are chat archives for AvaloniaUI/Avalonia

13th
Jul 2016
Darnell Williams
@Seeker1437
Jul 13 2016 00:46
niiice where is the vid :D
Steven Kirk
@grokys
Jul 13 2016 05:31
not sure when it'll be online
anyone have any thoughts about this? AvaloniaUI/Avalonia#593
Darnell Williams
@Seeker1437
Jul 13 2016 05:55
The idea of using F# with Avalonia would be pretty neat. I think it is definately something we could aim for but definately after 1.0.0. Wouldnt support for F# also immediately make Avalonia have a
Bigger reach than wpf too? I mean in terms of language support, we obv have platform support :)
danwalmsley
@danwalmsley
Jul 13 2016 08:32
@grokys the comment about no support for code behind, would be true for wpf, but I think for Avalonia at least for now wouldn't be a problem?
danwalmsley
@danwalmsley
Jul 13 2016 08:50
congrats on interview btw
I think I have found a rendering issue...
danwalmsley
@danwalmsley
Jul 13 2016 08:55
<Grid  Background="#44000055">
    <ContentControl>
      <Grid>
        <Grid Height="100" Width="100" Background="#44005500" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0 80 0 0" />  
      </Grid>      
    </ContentControl>
  </Grid>
As I increase the top margin
then the internal grid coloured green, becomes smaller, id expect it to always be height 100?
here are some screenshots
image.png
image.png
image.png
I will file an issue, just want to confirm its a bug and not something I have misinterpreted?
to confirm, WPF gives me expected result
danwalmsley
@danwalmsley
Jul 13 2016 14:16
ignore that, was a red herring!
Jeremy Koritzinsky
@jkoritzinsky
Jul 13 2016 15:20
Hey guys, I have some ideas for making Avalonia more easily extensible by 3rd parties (i.e. custom TypeConverters, custom native controls, F# support, additional window/render backends for custom OS's etc.) if you guys want. I can make an issue or a wiki page with my ideas so we can work on the design if anyone would be interested.
Darnell Williams
@Seeker1437
Jul 13 2016 15:31
Please do! I would appreciate it.
Darnell Williams
@Seeker1437
Jul 13 2016 15:40
@danwalmsley the no code behind issue I think you're right, we don't do the partial class thing so we should be okay in that regard. I am not privy to things like event handling in F#, but the other thing I was curious about, don't we have our own object like an observable collection, that should kinda get is past observablecollections not working out of the box
Jeremy Koritzinsky
@jkoritzinsky
Jul 13 2016 15:51
Ok! I'll write up my ideas after work today.
Darnell Williams
@Seeker1437
Jul 13 2016 16:15
Of topic I am going to rewrite the avalonia property template I have to work in standard vs
Steven Kirk
@grokys
Jul 13 2016 16:59
@jkoritzinsky regarding TypeConverters - when we move to .net standard we'll have access to the System.ComponentModel TypeConverters
a wiki with all that stuff would be amazing though
or .md files or whatever really
@Seeker1437 we do have our own version of ObservableCollection and we use it everywhere - I'm not sure how you've missed that!
Darnell Williams
@Seeker1437
Jul 13 2016 17:06
Ha! Okay! Should I make my controls use the AvaloniaList instead as well? Not sure how I missed it myself.
Steven Kirk
@grokys
Jul 13 2016 21:23
you can if you want, or just use ObservableCollection. kinda depends if you need any of the features AvaloniaList adds