These are chat archives for AvaloniaUI/Avalonia

9th
Jan 2017
danwalmsley
@danwalmsley
Jan 09 2017 11:58
@grokys I think horizontal scrolling might be still broken?
image.png
José Manuel Nieto
@SuperJMN
Jan 09 2017 12:20
Hey @grokys ! Have you thought about having a separate "debranded" NuGet package with the metadata attributes that are used for XAML parsing?
Something that doesn't have either Avalonia or OmniXAML in the name
ready to be shared and use by anyone
like some of the attributes in System.ComponentModel (like DescriptionAttribute)
it's because if we don't do that, the configuration of the parser would have to be coded, and that is costly
using attributes is pretty straightforward
Steven Kirk
@grokys
Jan 09 2017 13:15
@danwalmsley is that a regression since the last horizontal scroll PR?
@SuperJMN that is a good idea! something with the attributes would be very useful
maybe we should ask the corefx people about it
José Manuel Nieto
@SuperJMN
Jan 09 2017 13:16
OK! something like System.Markup.Xaml.Attributes?
Maybe we can create a package (with a neutral name) to use it in the meanwhile
Steven Kirk
@grokys
Jan 09 2017 13:18
yeah... i think the most difficult thing about it will be naming the package ;)
we need to take a look and see how other similar packages are named
also: the [ContentAttribute] used by avalonia is different to the on in System.ComponentModel as you add it to the property instead of the class
i could change avalonia to use the standard one though
José Manuel Nieto
@SuperJMN
Jan 09 2017 13:53
We may have a poll to decide the name :)
Nothing that is attached to any organization/company, descriptive enough to let developers know what it does and that is generic enough to fit in any related project without sharp corners
Steven Kirk
@grokys
Jan 09 2017 17:34
yeah, and different enough that it doesn't look like an official package, should an official package come at some point
Steven Kirk
@grokys
Jan 09 2017 17:45
@SuperJMN did you have chance to try #840 ?
Steven Kirk
@grokys
Jan 09 2017 19:08
@danwalmsley i see the problem with the scrollbar, fix on its way
José Manuel Nieto
@SuperJMN
Jan 09 2017 20:56
@grokys Not yet! But it's great to have !