J2Kbr / GtunerIV

Gtuner IV - Titan Two's software bug report.
http://www.consoletuner.com
25 stars 4 forks source link

Interactive Configuration: control=space is not collapsing correctly #418

Open Scachi opened 3 years ago

Scachi commented 3 years ago

you added group support for "control = space " some time ago. looks like it fails to collapse grouped space controls atm leaving unwanted empty space.

what I get: image

what I would expect: image

to get the expected result I have to remove the space control at the end (this is just an example for using space..it doesn't matter if space is at the end or followed by other controls)

/*
<cfgdesc>

[Max Drift Calibration:]
collapsible     = 1
shortdesc       = <b><font color="Red" style="font-size:10px">Max Drift Calibration Cycle</font></b>
byteoffset      = 0
bitsize         = 8
control         = spinbox
default         = 100
minimum         = 50
maximum         = 200
step            = 1

[Anti Recoil:]
color           = #FF6B00
border          = 1
collapsible     = 1

[Anti Recoil Type:]
group           = true
shortdesc       = <b><font color="DarkGreen" style="font-size:10px">Anti Recoil Type:</font></b>
byteoffset      = 24
bitsize         = 8
control         = combobox
default         = 0
item            = Two Stage Progression
item            = Dynamic Anti Recoil
item            = Rumble Anti Recoil

[ES7]
group           = true
control         = space
default         = 10

</cfgdesc>
*/