These are chat archives for AvaloniaUI/Avalonia

24th
Nov 2018
Nikita Tsukanov
@kekekeks
Nov 24 2018 06:39
We are deprecating GTK before the next release, so don't worry about it
In case of X11/Wayland we can look how Qt implements fullscreen state
Krutonium
@Krutonium
Nov 24 2018 06:42

Depreciating GTK

That seems... like a terrible idea, by Market share alone.

It's hard to make Qt look native in a Gtk environment
Jeremy Koritzinsky
@jkoritzinsky
Nov 24 2018 06:58
We're planning on going directly to X11/Wayland. No GTK or QT except maybe for optional file dialogs.
MonkAlex
@MonkAlex
Nov 24 2018 08:00
How to 'center' text in NumericUpDown?
изображение.png
MonkAlex
@MonkAlex
Nov 24 2018 08:15
Hm, padding=0,5,0,5 help
изображение.png
MonkAlex
@MonkAlex
Nov 24 2018 08:37
AvaloniaXamlLoader.Load load Design.DataContext in working app. Its normal?
@wieslawsoltes thanks, try to use it
MonkAlex
@MonkAlex
Nov 24 2018 10:16
Text wrapping bad in grid column
  <Grid ColumnDefinitions="*, *">
    <TextBlock Grid.Column="1"
               VerticalAlignment="Center"
               Text="He determined to drop his litigation with the monastry, and relinguish his claims to the wood-cuting and fishery rihgts at once. He was the more ready to do this becuase the rights had becom much less valuable, and he had indeed the vaguest idea where the wood and river in quedtion were."
               TextWrapping="Wrap"/>
  </Grid>
In 0.6.1 work well
Without VerticalAlignment declaration work, hmm...
MonkAlex
@MonkAlex
Nov 24 2018 10:22
~_~ work in example, but not in app.
Some changes in release or its bug?
Benedikt Schroeder
@Gillibald
Nov 24 2018 10:31
The Grid got a rework. There could still be some issues with it.
Steven Kirk
@grokys
Nov 24 2018 12:14
@MonkAlex what doesn't work about it?
MonkAlex
@MonkAlex
Nov 24 2018 12:15
See screen in #2129
In 0.6.1 all text showed
Steven Kirk
@grokys
Nov 24 2018 12:24
hmm ok, yeah that does look like a bug
MonkAlex
@MonkAlex
Nov 24 2018 12:26
@wieslawsoltes thanks, designer class not created now :D
MonkAlex
@MonkAlex
Nov 24 2018 12:48
изображение.png
      <DropDown Items="{Binding FolderNamingStrategies}" SelectedItem="{Binding FolderNamingStrategy}" MemberSelector="Name" VerticalAlignment="Center"/>
Expanded dropdown show items by memberselector, but collapsed show type
MonkAlex
@MonkAlex
Nov 24 2018 13:24
this work, okay :)
        <DropDown.DataTemplates>
          <DataTemplate>
            <TextBlock Text="{Binding Name}"/>
          </DataTemplate>
        </DropDown.DataTemplates>
Andrey Kunchev
@donandren
Nov 24 2018 17:42
@MonkAlex this dropdown issue with memberselector should be fixed in latest master / nightly nuget
Benedikt Schroeder
@Gillibald
Nov 24 2018 18:03
Hmm Avalonia.Natives fails to build on Linux are there any dependencies I have to install to get SharpGetTools running properly?
GenerateExtensionHeaders seems to fail but don't know what is exactly happening
Jeremy Koritzinsky
@jkoritzinsky
Nov 24 2018 18:06
Did you install castxml on your machine?
Benedikt Schroeder
@Gillibald
Nov 24 2018 18:07
Don't think so. Will check if that is the issue.
Okay that worked. Thanks
Benedikt Schroeder
@Gillibald
Nov 24 2018 18:12
Remote debugging helps a lot with Linux 👍
danwalmsley
@danwalmsley
Nov 24 2018 22:10
@Gillibald im finding that this font works on direct2d1, but not skia
any ideas why?
this is the uri I use
    <FontFamily x:Key="EditorFont">resm:AvalonStudio.Shell.Assets?assembly=AvalonStudio.Shell#DejaVu Sans Mono</FontFamily>
i think iv noticed this with a few fonts actually
my only suspicion is that is in a DLL that is referenced and not the main dll?
Benedikt Schroeder
@Gillibald
Nov 24 2018 22:15
Will investigate what is happening tomorrow I guess the font weight isn't right. Try medium. Will implement a fallback soon that picks up the next matching font weight.
That way fonts will even work if the font properties don't match.
danwalmsley
@danwalmsley
Nov 24 2018 22:22
does direct2d probably already do that then?
Benedikt Schroeder
@Gillibald
Nov 24 2018 22:53
The D2D backend already uses the nearest match yes.