Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:38
    KillzXGaming opened #2880
  • Aug 24 20:46
    lifecoder-phoenix synchronize #2879
  • Aug 24 20:38
    lifecoder-phoenix synchronize #2879
  • Aug 24 20:07
    lifecoder-phoenix opened #2879
  • Aug 24 19:45
    ahopper commented #2873
  • Aug 24 19:10
    Gillibald commented #2873
  • Aug 24 18:08
    FoggyFinder commented #2878
  • Aug 24 18:01
    feyscontrol commented #2878
  • Aug 24 17:54
    FoggyFinder commented #2878
  • Aug 24 17:52
    ahopper commented #2873
  • Aug 24 17:49
    feyscontrol edited #2878
  • Aug 24 17:49
    feyscontrol opened #2878
  • Aug 24 15:27
    feyscontrol commented #2877
  • Aug 24 15:27
    feyscontrol closed #2877
  • Aug 24 14:18
    Gillibald commented #2877
  • Aug 24 14:17
    Gillibald commented #2877
  • Aug 24 14:11
    Gillibald synchronize #1950
  • Aug 24 13:51
    feyscontrol opened #2877
  • Aug 24 12:46
    kekekeks commented #2874
  • Aug 24 12:46
    kekekeks commented #2874
soerendd
@soerendd
@ahopper yeah I would love to use avalonia on the pi. But I need decent speed for some animations...
The pi is able to provide the speed because Libreelec for eg is able to show smooth animations at full hd
ahopper
@ahopper
Have you got something we could use as a benchmark to try and improve?
soerendd
@soerendd
Not yet. My next step would be to get the kms-drm thing to work (as its close to the metal). After that I guess I will try the renderdemo (shows some animations)
Currently I'm compiling Qt on a vm on linux to cross compile for the pi...
This takes ages ;-)
Bakuryu
@Bakuryu
So I am doing a tab interface and starting off the tabs are disabled till people fill in the correct info in the settings tab. Problem is when the app first starts it's focus is on the first tab, which is disabled. Any idea on how to make it not focus on that one other than putting the settings tab first?
Josua Jäger
@JaggerJo
Use ‘SelectedItem’ or ‘SelectedIndex’
Wes Johnson
@fuzioncode
Anybody get the horizontal bar to show on the DataGrid ? Has anybody got BLE (Low Energy Bluetooth) to be discoverable using .NET Core with Avalonia ?
Bakuryu
@Bakuryu
@JaggerJo That can work, but technically I need to change so that if they have those areas filled in it does start at the first available tab. Guess I might have to do that programmatically somehow. Once the fill in the information its saved so if they reload the program it the tabs would stay enabled. Would be silly to point them to the settings tab at that point.
Josua Jäger
@JaggerJo
@Bakuryu whatever works for you :)
Josua Jäger
@JaggerJo
@fuzioncode There is currently no .Net Core Bluetooth library that supports Windows, MacOs and Linux (I'm aware of).
(.Net 5.0 - dotnet/corefx#21810)
What you can do in the meanwhile is use the native libraries.
soerendd
@soerendd
crosscompiling qt is a nightmare ;-)
Bakuryu
@Bakuryu
@JaggerJo You don't happen to know of an easy way to make it point to the first clickable tab? Now that I learned I can use a function to return a value for a property it make it harder to conditionally set that value to the first available tab. My only thought is to have a property that is set on the start off the app that checks each bool property I have that determines if the tab is enabled and getting an index off that to set it.
Josua Jäger
@JaggerJo
@Bakuryu Hmm, you could iterate over the TabControls Children in the view. That would be the easiest thing todo
(at least the easiest thing I know of)
basically
tabControl.SelectedItem = tabControl.Items .Where(tab => tab.IsEnabled) .FirstOrDefault()
Bakuryu
@Bakuryu
How do you reference controls in code to do stuff like that? So far all I can do it bind values from csharp to the xaml
like how is tabControl declared?
Josua Jäger
@JaggerJo
In the 'code behind' you can just use this.FindControl<TabControl>("name")
not sure if that's the best way...
Jeremy Koritzinsky
@jkoritzinsky
For people who want to develop against local Avalonia builds but don't want to mess with their NuGet cache, the switch-
packages tool in https://github.com/RicoSuter/DNT/ looks like it would work pretty nicely
Dariusz Komosiński
@MarchingCube
@jkoritzinsky If this works well it would be a blessing. I spent like 30 minutes today trying to setup debug Avalonia to check an issue in my project (and hitting all weirdness like VS claiming that my special package version does not exist and old assemblies sticking around).
Wes Johnson
@fuzioncode
What BLE Bluetooth Native Libraries do you recommend I use for Windows 10 and Ubuntu Linux?
Jeremy Koritzinsky
@jkoritzinsky
@MarchingCube definitely let me know if it does! I'll add it to our contributing guide if it works.
Nikita Tsukanov
@kekekeks
@jkoritzinsky I suspect it wont pick up our build targets
Jeremy Koritzinsky
@jkoritzinsky
Damn yeah you're right.
That sucks
Benedikt Schroeder
@Gillibald
Is VisualBrush somehow broken? I never get a sharp result
VisualBrush_Fill_NoTile.deferred.out.png
Vs Skia
VisualBrush_Fill_NoTile.deferred.out.png
Both have issues. The Skia version seems to be pixelated. Also colors don't seem to match.
ahopper
@ahopper
I wonder if this could be a route to get video playback videolan/libvlcsharp#11
Dariusz Komosiński
@MarchingCube
@Gillibald Old issue, one of the reasons why Skia has a lot of visual brush tests disabled. I checked it like last year and it was mostly related to antialiasing settings. But if I were to enable it for disabled cases it would break somewhere else.
Benedikt Schroeder
@Gillibald
I think most of the tests broke because of text rendering. The tests now use the same font etc. but the antialiasing issue is still there. I do not understand why that isn't an issue when the scene is drawn to the window's surface.
mstr2
@mstr2
I've created a ButtonBar panel that will order buttons you place in it according to platform-specific guidelines:
ButtonBar
Can be used to easily create dialogs that feel more natural on their respective platforms. Interested in a PR?
Nikita Tsukanov
@kekekeks
We probably beed to support the native dialog versions
At least for osx/ios/android
mstr2
@mstr2
What do you mean with native dialog versions? What I’m referring to is when you have buttons in your own dialogs. Platform guidelines vary in how these should be arranged.
Valters
@FaithLV
hey...uh, any tips on how to build any of the ./sample applications? Whenever I try compiling any of them I just get ~350 errors like this: "The type or namespace name 'IXamlIlType' could not be found". All of the errors are about some XAML types.
also AppVeyor artifacts for the sample apps are Nuget packages...?
Nikita Tsukanov
@kekekeks
git submoduke update --init --recursive
AppVeyor builds weren't running for ages, see azure pipelines instead
git submodule update --init --recursive
Valters
@FaithLV
whoops, tried update without '--init --recursive'! Thank you very much!
Valters
@FaithLV
azure builds are only windows .exe and on .net framework, correct? :(
ahopper
@ahopper
In the perfect world how should a StackPanel of virtualized lists behave? Or should the programmer just know better than to try?