Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 12 20:43
    cwensley commented #1949
  • May 12 20:42
    julian-baumann commented #1949
  • May 12 20:02
    cwensley commented #1949
  • May 12 20:02
    julian-baumann commented #1949
  • May 12 19:59
    julian-baumann commented #1949
  • May 12 18:17
    julian-baumann commented #1949
  • May 12 18:11

    cwensley on develop

    Fix crash with StackLayout Cal… Merge pull request #1950 from c… (compare)

  • May 12 18:11
    cwensley closed #1950
  • May 12 18:08
    cwensley commented #1949
  • May 12 18:02
    cwensley opened #1950
  • May 12 09:56
    julian-baumann edited #1949
  • May 12 09:53
    julian-baumann edited #1949
  • May 12 09:52
    julian-baumann opened #1949
  • May 05 09:38
    cwensley labeled #1946
  • May 05 09:38
    cwensley labeled #1945
  • May 05 09:38
    cwensley labeled #1944
  • May 05 09:38
    cwensley labeled #1943
  • May 05 09:38
    cwensley labeled #1942
  • May 03 20:08
    InfinityGhost opened #1947
  • May 02 10:01
    cwensley labeled #1929
Curtis Wensley
@cwensley
Which platform?
Jordan Peck
@Auburn
Linux
Curtis Wensley
@cwensley
There's no output or exception?
Jordan Peck
@Auburn
I've enabled break on all exceptions, but there is nothing
Only output is exited with code 0
Curtis Wensley
@cwensley
Do you have Eto.Gtk.dll, GtkSharp.dll, AtkSharp.dll, etc in the output directory?
Jordan Peck
@Auburn
Yup I have all of those
Curtis Wensley
@cwensley
Hm.. could you zip it up and send it over? I can take a look at what's going on.
That is just missing my changes to add references to Eto.Platform.Gtk
Curtis Wensley
@cwensley
gotcha.
could you add them in a branch so I can see what you did?
Jordan Peck
@Auburn
Currently I've just replaced Eto.Platform.Wpf with Eto.Platform.Gtk while I'm trying to get it working
Curtis Wensley
@cwensley
ah ok, let me give it a go.
Jordan Peck
@Auburn
And tried switching to 2.5.10, but 2.5.2 didn't work either
If I put a breakpoint into the constructor of my Form is does get hit
And I don't have any code that triggers Application.Instance.Quit()
Thanks for having a look
Curtis Wensley
@cwensley
Hm, had to switch to net5.0 TFM as I don’t have .NET Core 3.1 installed, but switching “Eto.Platform.Wpf” with “Eto.Platform.Gtk” appears to work with a simple “dotnet run"
Screen Shot 2021-02-21 at 9.17.31 AM.png
Jordan Peck
@Auburn
I've just been running it though VSCode, let me try without
Well that works...
Not sure why that works differently from the template project, neither has any launch configs
Curtis Wensley
@cwensley
I actually did the dotnet run from the VSCode integrated terminal myself.
Jordan Peck
@Auburn
Does it work for you if you hit F5?
Curtis Wensley
@cwensley
@Auburn One thing.. are you using the snap version of VSCode? It has.. problems.. like this one.
you need to use the .deb version so it has full access to your system.
Jordan Peck
@Auburn
I don't remember, is there a way to check
Ah yeah I am using the snap version
Curtis Wensley
@cwensley
that would be it, then
Jordan Peck
@Auburn
.deb version fixed it
Thanks
Curtis Wensley
@cwensley
no problemmo. (;
Jordan Peck
@Auburn
The dropdowns are much larger on Linux, messing up my formatting
Curtis Wensley
@cwensley
Yeah controls in general are quite large on Gtk these days. I think they did that to support touch.
philstopford
@philstopford
Indeed. It's that which forced me to move to a tablelayout managed UI. I had this nicely calibrated design that worked well under all platforms (GTK being then GTK2) and then GTK3 messed it all up with enormous controls. Even now, it's massively wasteful of screen space. I think they ought to be somewhat ashamed. Not every UI calls for touch, after all, and when you end up scrolling to access controls that fit in the UI on every other platform, it just looks terrible to the user (in my experience).
Even with a 4K panel, I end up having to have the tablelayout inside a scrollable to account for this particular 'quirk' of GTK. The horizontal and vertical scrolling is tedious and very saddening when I was deliberately aiming for a UI that didn't have controls out-of-sight and made all of them available without subdialogs, extra windows, etc.
The FastNoise projects are neat - wasn't aware of those before and will be taking a look. The imgui (I guess?) node editor in FastNoise2 makes me still want something like that for Eto :D
Jordan Peck
@Auburn
Thanks, the FastNoise2 node editor uses https://github.com/Nelarius/imnodes
philstopford
@philstopford
Yeah - I recognized the look of the imgui from the Veldrid examples.
philstopford
@philstopford
Do you expect to have other implementations (C#, for example) for the FastNoise2, or is that version more for pure speed? Curious about your plans, and whether an Eto UI is being considered (with a node component :D)
Jordan Peck
@Auburn
FastNoise2 uses SIMD for performance and SIMD support isn't fully there yet for C#, can chat more on the FastNoise discord if you want
Jordan Peck
@Auburn
Is it possible to make a Scrollable only scroll vertically?
Curtis Wensley
@cwensley
@Auburn yes, set Scrollable.Content.Width = 1. It will (by default) expand to the width of the scrollable so it won’t actually be 1 pixel wide.
Jordan Peck
@Auburn
image.png
The Scrollable now doesn't auto size to the area though :/
realonepiecefreak
@onepiecefreak3
@cwensley Found out that I could use the ListBox for what I need. It also looks nearly exactly as I need it. Is there a way to vertically align the text in a ListBox somehow?
Curtis Wensley
@cwensley
Depends on the platform, there's no api in Eto for that. You can with a GridView, however as it is much more flexible.
Geoff McQueen
@geoff-m
speaking of vertically aligning text, is there any other way to do that?
i noticed FormattedText has alignment but it seems only horizontal