These are chat archives for AvaloniaUI/Avalonia

23rd
Jan 2019
drearyrainDeng
@drearyrainDeng
Jan 23 03:18
image.png
anybody, how can i hide menu bar?
i try WindowStyle="None", but run fail
James Burnside
@JCBurnside
Jan 23 04:16
so what does does it mean when xamlType is null?
Steven Kirk
@grokys
Jan 23 13:42
@MGageMorgan i've fixed the problem in Image I think, but there still seems to be a Grid problem that is causing the layout to be wrong. i'm going to investigate this first, so I can be sure that the Image fix i've done is correct
@JCBurnside it means the Portable.Xaml can't find the type usually
Nikita Tsukanov
@kekekeks
Jan 23 14:30
It looks like we are back in the business of shipping custom Skia builds
William Humphreys
@WHumphreys
Jan 23 16:15
If I fill a 10 column ish (height="xx") "Textbox > textbox.text = "Some really long string" it doesnt wrap the text even with TextWrapping="Wrap" set. Am I doing something wrong here?
"SomeReallyLongString" without spaces
James Burnside
@JCBurnside
Jan 23 16:28
How can I figure which type it isn't finding?
Steven Kirk
@grokys
Jan 23 16:34
@WHumphreys just submitted a PR to fix exactly that situation: AvaloniaUI/Avalonia#2261
i think it's the same at least
literally opened the PR 1 minute ago ;)
@JCBurnside some more information on the error you're seeing would be useful
Benedikt Schroeder
@Gillibald
Jan 23 16:38
@WHumphreys Has your TextBox limited space?
James Burnside
@JCBurnside
Jan 23 16:53
Would nested types be an issue?
William Humphreys
@WHumphreys
Jan 23 16:58
@Gillibald I dont think so. It shows all the text its just off screen.
@grokys :-)
@grokys I wasnt using a TextBlock It was the TextBox
James Burnside
@JCBurnside
Jan 23 17:01
so refactoring so that I don't use nested types doesn't fix it so here is a gist with the relevant code https://gist.github.com/JCBurnside/e1d74a3f5cc78cbe87c20bf00decfd25
William Humphreys
@WHumphreys
Jan 23 17:02
@Gillibald <TextBox Name="Foo" Grid.Row="2" Grid.Column="0" Margin="20,20,0,0" Width="360" Height="190" TextWrapping="Wrap" />
Benedikt Schroeder
@Gillibald
Jan 23 17:06
#2261 Should fix that issue
Steven Kirk
@grokys
Jan 23 17:18
@JCBurnside ah crap, yeah it's Portable.Xaml throwing an NRE :/
James Burnside
@JCBurnside
Jan 23 17:22
I even tried updating to 7.0 (which is slightly annoying because nuget wouldn't let me update one package at a time so I had to edit the csproj manually)
I noticed that intellisense wasn't picking up ItemsControl.DataTemplates if that helps
Steven Kirk
@grokys
Jan 23 17:26
Steven Kirk
@grokys
Jan 23 17:51
@Gillibald i've updated #1689 to master
FontFamilyTypeConverter is now throwing though, i'm not sure why
also we may need to update to upstream portable.xaml develop branch
Benedikt Schroeder
@Gillibald
Jan 23 17:52
Thanks
James Burnside
@JCBurnside
Jan 23 20:15
I will when i get home