Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:00
    grokys synchronize #5831
  • 08:00

    grokys on merge-core-assemblies

    Allow for using ScrollViewer.Al… Fixed gradient brush target rec… Update API compat. and 45 more (compare)

  • 07:58
    grokys synchronize #5831
  • 07:58

    grokys on merge-core-assemblies

    Removed outdated dependencies. (compare)

  • 07:54
    qq407479752 closed #6116
  • 07:52
    qq407479752 opened #6116
  • 07:52
    qq407479752 labeled #6116
  • 07:51
    qq407479752 labeled #6115
  • 07:51
    qq407479752 opened #6115
  • Jun 22 17:00
    danwalmsley synchronize #4062
  • Jun 22 15:44
    maxkatz6 commented #2239
  • Jun 22 10:11
    ThierryFourniol commented #2239
  • Jun 22 09:47
    ThierryFourniol commented #2239
  • Jun 22 05:55
    dalekseev-monokot commented #6109
  • Jun 21 18:42

    kekekeks on master

    Adds a pixel format parameter t… (compare)

  • Jun 21 18:42
    kekekeks closed #6101
  • Jun 21 18:26
    kekekeks synchronize #6101
  • Jun 21 18:26
    kekekeks auto_merge_enabled #6101
  • Jun 21 16:55
    aguahombre synchronize #6101
  • Jun 21 14:11
    amerkoleci closed #6002
ahopper
@ahopper
@PieroCastillo Inkscape will convert to wpf xaml which is very close. For simple stuff the path can just be copied (sometimes it is inverted). There is a lib to display svg directly in Avalonia.
DarthSpot
@darthspot:matrix.org
[m]
@PieroCastillo: there is a SVG Library that allows the usage of svg in Avalonia. I'm using that for my app
Dan Walmsley
@danwalmsley
@/all 0.10.1 has been released
1 reply
for details see:
questions and discussion:
T1gg1
@T1gg1
👍
Hey! Is it possible to change the Slider Style?
Steve
@hez2010
wondering did the issue of OpenGL on Windows get fixed in 0.10.1
Steven Kirk
@grokys
@T1gg1 yep! what exactly do you want to change?
@hez2010 which issue exactly?
T1gg1
@T1gg1
@grokys bigger for better use with touchscreens
Steven Kirk
@grokys
you can change the size of the thumb by setting some resources, if that's what you mean, e.g.:
    <x:Double x:Key="SliderHorizontalThumbWidth">40</x:Double>
    <x:Double x:Key="SliderHorizontalThumbHeight">40</x:Double>
    <CornerRadius x:Key="SliderThumbCornerRadius">20</CornerRadius>
image.png
T1gg1
@T1gg1
Perfect thank you!
T1gg1
@T1gg1
@grokys I can not find the tickbar property. How can I set it? :(
T1gg1
@T1gg1
The property, that I can resize the tickbar. Bigger lines or dots or something like this
T1gg1
@T1gg1
Or that I can add numbers to the slider
Mike Ward
@mike-ward
Can anyone point me to a quick primer on how context menu's work in .10.1? Looks like it changed to Flyout.
Mike Ward
@mike-ward
Tried this:
            if (contextMenu is not null)
            {
                var flyout = new Flyout {
                    Content  = contextMenu,
                    ShowMode = FlyoutShowMode.TransientWithDismissOnPointerMoveAway
                };
                button.Flyout = flyout;
            }
5 replies
Never mind, I got it working.
aad.slingerland
@aad_slingerland_twitter
Greetings, I would like to add a small number of buttons (2 through 6) to a 'clean' window depending on other factors like the number of files of a certain type present in a specific directory. Making buttons in xaml is straigtforward but now I would like to add them with C# code. Is this possible at all?
Steven Kirk
@grokys
@mike-ward you can continue to use ContentMenu, see https://github.com/AvaloniaUI/Avalonia/discussions/5820#discussioncomment-639332
basically it was deprecated a bit too eagerly
we're going to un-deprecate in 0.10.2
@aad_slingerland_twitter yes you can just create new Button objects and add them to a panel's Children collection
@T1gg1 sorry i'm still not sure what you're looking for
T1gg1
@T1gg1
@grokys instead of the lines, I want the ticknumbers under the slider
Steven Kirk
@grokys
ah ok. yeah no idea how you'd do that. @Mehigh17 implemented the tick stuff, maybe s/he'd know
Oxc3
@Oxc3

I am trying to modify a single instance of the ProgressBar (the app is using Fluent Styling). When I add

<ProgressBar.Styes>
                <Styles>
                  <Style Selector="ProgressBar:horizontal /template/ Border#PART_Indicator">
                    <Setter Property="CornerRadius" Value="10" />
                  </Style>
                </Styles>
   </ProgressBar.Styes>

The CornerRadius is not changing. I can modify other parts of PART_Indicator just not CornerRadius. Is this because it is bound to a DynamicResource and not ThemeBinding?

3 replies
Omer
@omerfarukz
Hi, i am getting 'Don't know how to detect when App.Module.Views.UserDetailsView is activated/deactivated,'
8 replies
UserDetailsView class inherited from ReactiveUserControl<TViewModel>
Artjom P
@ArtjomP
Hello everyone! I've got an issue after updating to 0.10.1. My app doesn't appear after .StartWithClassicDesktopLifetime(args); on macOS. I can see only The program '....dll' has exited with code 0 (0x0). in the Debug console.
2 replies
Any ideas on how to solve it or debug it are welcome! Thank you in advance.
Piero Castillo
@PieroCastillo
@ahopper @darthspot:matrix.org thanks!!
Steve
@hez2010
@grokys This one: AvaloniaUI/Avalonia#5543
Steve
@hez2010
Just confirmed this issue hasn't be fixed yet in 0.10.1.
image.png
With error message in debug console: [OpenGL] Unable to initialize OpenGL: current platform does not support multithreaded context sharing (String #1468893309)
larsser
@larsser
Does anyone know what the syntax of PolylineGeometry's Points property is?
Dan Walmsley
@danwalmsley
haha beat me to it
larsser
@larsser
Thanks :)
I get an error:
Unable to parse "0,0 65,0 78,-26 91,39 104,-39 117,13 130,0 195,0" as a point
ahopper
@ahopper
:) shall be releasing some test stuff with 0.10.1 this week so thanks for all the work from everyone, might throw .net 6.0 p3 into the release as well.
larsser
@larsser
Will it be fixed in 0.10.1?