CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

Enlarge Add Command dialog #491

Closed Hypexion closed 1 year ago

Hypexion commented 1 year ago

Compared to the available screen space, the dialog for adding script commands is quite small. This can be fixed by making that dialog larger: image

Since the dialog is being enlarged, the UI for variable-related commands has been rearranged, to move the value input box and increase its size. This is helpful when writing assignments using script primitives: image

Behind the scenes, the third on/off listbox has been upgraded to be dynamically positioned, as its fixed position no longer worked for all commands that used it. This allowed the fourth on/off listbox to be removed, as it only existed to have a control at its specific location. (Possibly more widgets could become dynamically placed but that is outside of the scope for this PR.)