bsaffel / benchmarker

macro trainer | build optimizer | practice tool
10 stars 0 forks source link

Create a dialog position scheme API that allows for easy coordinate based configuration and placement of dialog items in a dialog #188

Closed bsaffel closed 10 years ago

bsaffel commented 10 years ago

This would be to avoid all of the tedious offset specifications that have to be tweaked one by one rather than doing it across all items quickly or easily. You could have a data structure that just contained x and y offsets that was computed based on the values passed in to initialize the row components.

bsaffel commented 10 years ago

Apparently panels are useful for helping with these kinds of concerns.

bsaffel commented 10 years ago

This can be done with local variables inside the functions used to create the dialogs