Page MenuHomeFeedback Tracker

Control types 100 & 101 do not respect controls groups
New, NormalPublic

Description

The UI map control types do not respect the expected positioning rules when within a controls group (i.e. that their positions are given with respect to the position of the controls group).

Control type 101, positioned within a controls group at [0.5,0.5] for testing purposes:
http://i.imgur.com/Tsdl1hd.jpg

Control type 100, positioned within a controls group:
http://i.imgur.com/dvr0SIL.jpg

The exact same config as above, but with a RscText control (type 0):
http://i.imgur.com/wPaVb79.jpg

It also looks as though they are not bound to the controls group region and will simply display wherever they want to.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce
  1. Define a new display with a controls group not positioned on [0,0]
  2. Within the controls group, add a control type 100 or 101 and position it relative to the controls group
  3. Load any mission and create the display, the control will be in an unexpected position (I believe it's using absolute coordinates)
Additional Information

Tested on dev branch (2016-05-21)

Event Timeline

SilentSpike edited Additional Information. (Show Details)May 21 2016, 4:01 AM
SilentSpike renamed this task from Control types 100 & 101 do not respect controls group positioning rules to Control types 100 & 101 do not respect controls groups.May 22 2016, 2:06 PM
SilentSpike updated the task description. (Show Details)