(pardon for the identical thread in Triggers, it was suggested I should post here)
I would appreciate anyone's insight in this challenge of how to create a nice dialog that can display a table of data.
Requirements:
The rows and columns need to be aligned.
It should be relatively easy to choose the number of rows and columns that are required of the Dialog.
The size of the columns should expand to match the largest string (text) length.
Control over the background color, or whether its visible.
Off the bat, it makes most sense to use a Leaderboard, it comes shipped with almost all of the requirements. However, the leaderboard has very limited control for how to format and display it. Mostly, I would like control whether or not to allow the Leaderboard to be minimized, remove (and display) the checkbox that toggles its visibility, and how the Leaderboard title is itself a unclickable button label when minimized.
I have been exploring quite the many Dialog Tutorials that are on the tutorial forum and the most interesting one is an incomplete recent tutorial: [UI] How to create dialogs and edit Blizzard UI using the UI and trigger editor But it seems a bit incomplete. Mostly I find this interesting because it allows you to do most of the dialog formatting within XML, which is a godsend because writing the logistic code inside the Trigger Editor is the most frustrating experience for editing code I've ever had to deal with.
If anyone knows of a dynamic way to create a dialog like this within the XML editor I would like to hear your experience doing so.
Go with dialogs for sure, learn how to do them and you definitely can make impressive looking leaderboards with them. Also learning dialogs will give you great experience later on.
Dialog Leaderboard
You take control of how it works - 100%. You make your own 'system'.
You can make it look slick and stylize, the way you want it to look.
You can add additional features that a normal leaderboard wouldn't have (IE: Lifetime stats panel for each player, portraits)
You control how it's brought up, like for example you can have a tab that pulls the leaderboard out.
Add as many values as you want
Great experience on learning how to use dialogs which can help you further down the road.
Blizzard's default leaderboard
It looks big and clunky, an eyesore really
limited functionality
Everyone with poorly made maps uses it
You have to figure out Blizzard system of using it
(pardon for the identical thread in Triggers, it was suggested I should post here)
I would appreciate anyone's insight in this challenge of how to create a nice dialog that can display a table of data.
Requirements:
Off the bat, it makes most sense to use a Leaderboard, it comes shipped with almost all of the requirements. However, the leaderboard has very limited control for how to format and display it. Mostly, I would like control whether or not to allow the Leaderboard to be minimized, remove (and display) the checkbox that toggles its visibility, and how the Leaderboard title is itself a unclickable button label when minimized.
I have been exploring quite the many Dialog Tutorials that are on the tutorial forum and the most interesting one is an incomplete recent tutorial: [UI] How to create dialogs and edit Blizzard UI using the UI and trigger editor But it seems a bit incomplete. Mostly I find this interesting because it allows you to do most of the dialog formatting within XML, which is a godsend because writing the logistic code inside the Trigger Editor is the most frustrating experience for editing code I've ever had to deal with.
If anyone knows of a dynamic way to create a dialog like this within the XML editor I would like to hear your experience doing so.
Use Dialogs.
Go with dialogs for sure, learn how to do them and you definitely can make impressive looking leaderboards with them. Also learning dialogs will give you great experience later on.
Dialog Leaderboard
Blizzard's default leaderboard