fa icon indicating copy to clipboard operation
fa copied to clipboard

improved options dialog with searching options

Open HUSSAR-mtrela opened this issue 1 year ago • 4 comments

  • improved scrolling performance in gird control
  • improved default padding in tooltips
  • ignoring DEV files in root of the repo
  • fixed UI layout/clipping issues in options dialog
  • replaced tabs with collapsible list of options (see screenshot 1)
  • add missing tooltips for a few options
  • add searching/filtering of all options by their names or values (see screenshot 2 and 3)
  • add possibility of creating new group of options, e.g. mods can hook the lua/options/options.lua file and add new group of options inside of the options table such as my_mod_options (see screenshot 4)

Screenshot 1 - the new options dialog with collapsible list of options: image

Screenshot 2 - the new options dialog with searching by option's name: image

Screenshot 3 - the new options dialog with searching by option's value: image

Screenshot 4 - the new options dialog with custom mod options: image

Screenshot 5 - the old options dialog: image

HUSSAR-mtrela avatar Sep 03 '23 05:09 HUSSAR-mtrela

Looking at the current options menu:

image

@HUSSAR-mtrela would it be possible to use the texture space accordingly by having the search + game options in the background area that is designed to hold the options? I don't know by heart what the dialog texture looks like exactly, I'll try to find it

Garanas avatar Sep 03 '23 19:09 Garanas

@Garanas the background texture has semi-transparent region where tab controls used to be and the same semi-transparent region above Reset/OK/Cancel/Apply buttons (see 2nd screenshot below) that is why I added that black bitmap to fill those regions. Otherwise search box would not be very visible and there would be a lot of wasted space that we can now use for displaying options. I have just fixed the alignment of the black fill with the background texture (see my screenshot below)

Latest Option Dialog with fixed alignment of fill bitmap: image

Original Texture without tabs and options list: image

By they way, I added an option to open this dialog via key binding image

HUSSAR-mtrela avatar Sep 04 '23 03:09 HUSSAR-mtrela

@Garanas If you like I can replace the styling of the Option window (which does not changes based on selected faction) with styling of the Keybinding window which matches currently selected faction.

HUSSAR-mtrela avatar Sep 04 '23 03:09 HUSSAR-mtrela

I have to say, visually it looks worse than what we had before. Was there a reason to replace the scroll bar and the borders around the individual options? It also looks like you tried to squeeze every inch of vertical space out of it. The black area now almost touches the buttons, which doesn't look good

BlackYps avatar Sep 18 '23 11:09 BlackYps