C
C#ā€¢7mo ago
Flourish0x

Image List

How can I make something like this? I am currently making an app which I want to give info on certain cosmetics in the game "Fortnite" and instead of people clicking on the name of the cosmetic, id like to display the icon. My current code just puts the items from the API into a list and once it's clicked it displays the icon + information about it. But I'd like to make it so people can view the icon then once clicked give info. Here is the API I am using https://fortnite-api.com/v2/cosmetics/br, it returns a JSON of every cosmetic in the game and it also provides the links to photos of the items, I've created a deserializtion system so I can grab speftic data from the reponse, so I can get every image, but now the question is how do I make it so I can put each icon like the photo I provided?
No description
18 Replies
Kouhai
Kouhaiā€¢7mo ago
This depends on the GUI library, whether it's Winforms, WPF or Avalonia
Flourish0x
Flourish0xOPā€¢7mo ago
I tagged winforms. it's build in winforms
Kouhai
Kouhaiā€¢7mo ago
Sorry didn't notice the tag, I'm not really an expert in Winforms, but if you're starting a new project I would highly recommend Avalonia or at least WPF Winforms is pretty outdated and getting making a modern GUI in it is quite hard.
Flourish0x
Flourish0xOPā€¢7mo ago
I'm not planning on making a modern GUI, it's just a project for fun, although i've been wanting to do this typa thing for awhile lol
Kouhai
Kouhaiā€¢7mo ago
I would assume in winforms you'd use DataGridView to get a grid-like UI, but I'm not really sure so I would leave it to the experts to chime in šŸ˜…
Flourish0x
Flourish0xOPā€¢7mo ago
Is Avalonia hard? to use i never really used anything besides winforms.. šŸ’€
Kouhai
Kouhaiā€¢7mo ago
It might seem harder a bit at first, but it's way easier to use after you've tried it a bit
Jimmacle
Jimmacleā€¢7mo ago
avalonia/WPF is way better when it comes to styling and responsiveness
Flourish0x
Flourish0xOPā€¢7mo ago
Don't I have to learn XAML at first?
Jimmacle
Jimmacleā€¢7mo ago
winforms is easy to get started with but gets a lot more annoying when the app gets complicated
Flourish0x
Flourish0xOPā€¢7mo ago
this is true very very much it's laggy af too :/
Kouhai
Kouhaiā€¢7mo ago
Yeah, you'd have to learn XAML, but it's much easier to build a UI in XAML than Winforms designer šŸ˜…
Jimmacle
Jimmacleā€¢7mo ago
^ drag and drop editing is the enemy of proper responsive layouts
Flourish0x
Flourish0xOPā€¢7mo ago
man. ill try it
Flourish0x
Flourish0xOPā€¢7mo ago
i created this 2008 looking ass ui, looks super bad. I will def try XAML
No description
Kouhai
Kouhaiā€¢7mo ago
Yeah, there are many libraries for Avalonia as well that makes it even easier to style your UI šŸ˜…
4Wip
4Wipā€¢7mo ago
what is Avalonia ?
Kouhai
Kouhaiā€¢7mo ago
It's a UI framework https://avaloniaui.net/
Avalonia UI
Avalonia UI - Cross-Platform UI Framework for .NET
Pixel-Perfect Cross-Platform .NET Applications with C# for Windows, macOS, Linux, iOS, Android and Browser.
Want results from more Discord servers?
Add your server