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.
You can do all of that with a Leaderboard too, you can even use the Demo Leaderboard I have in my Signature. It already has the minimize button removed, and for the clickable Title to Maximize it when Minimized you can Create a Button Dialog item at the position of the Leaderboard Title Text, so when you click it the Leaderboard will be Maximized. If you'd Prefer the Dialog Option still hopefully some else can help, because I prefer using the Leaderboard so I'm not as good at the Dialog Leaderboard.
Rollback Post to RevisionRollBack
My Projects:
Sorted Multiplayer Leader Board
Card Shuffle Dialog Demo
Air Wars Mass
Blizzard Fan since Starcraft. The Single Player story is AMAZING IMO, I can't wait for the Expansions. In Warcraft 3 I only enjoy the Custom Maps scene (& Blizzards...
Took a bit longer than I thought because I didn't read your requirements correctly. No matter.
And by the way, my incomplete tutorial does give you enough to figure out what I did. The rest would merely explain how to edit Blizzard's UI. I haven't gone round to it because I'm lazy.
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.
Try going to the ui development forum and asking there. They would be more familiar with using XML
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
You can do all of that with a Leaderboard too, you can even use the Demo Leaderboard I have in my Signature. It already has the minimize button removed, and for the clickable Title to Maximize it when Minimized you can Create a Button Dialog item at the position of the Leaderboard Title Text, so when you click it the Leaderboard will be Maximized. If you'd Prefer the Dialog Option still hopefully some else can help, because I prefer using the Leaderboard so I'm not as good at the Dialog Leaderboard.
I like a challenge, especially when they're easy. Let's see how fast I can do this, using this post as my starting timer.
@XGDragon: Go
Took a bit longer than I thought because I didn't read your requirements correctly. No matter.
And by the way, my incomplete tutorial does give you enough to figure out what I did. The rest would merely explain how to edit Blizzard's UI. I haven't gone round to it because I'm lazy.