MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Interactable Profile Theme text at incorrect indentation?

Open genereddick opened this issue 7 years ago • 6 comments

Describe the bug

I'm not sure this is a bug, but in the Interactable script (for a checkbox) under the Profiles for each of Background, Button, Label, CheckBoxCheck there are four items.

CheckboxCheck
    Target
    Theme
    > ToggleSomething
       Theme
    >ToggleSomethingElse

Visually I find this confusing: either a) , the two toggles and the second theme are meant to be in some sort of nested relationship with the first theme, and the toggle buttons icon (>) are offset to the left of the (otherwise) similarly indented items, or b) there is no nested relationship, and so the toggle button icon (>) is at the same level as the first Theme, but then the second Theme is incorrectly indented to the right

If (a) the nature of the nested relationship is unclear. If (b) the second Theme needs to be moved left.

To reproduce

See in Inspector window

Steps to reproduce the behavior:

Expected behavior

?

Your Setup (please complete the following information)

  • Unity Version 2018.3.12f1
  • MRTK Version v2.0 latest

Target Platform (please complete the following information)

Unity Editor

genereddick avatar Apr 16 '19 23:04 genereddick

@Railboy / @killerantz, can you clarify the interactable property nesting?

Thanks!

david-c-kline avatar Apr 17 '19 10:04 david-c-kline

@genereddick is correct, it is confusing and a bug. The second theme, for a single target, should not be tabbed in, but flush with the first Theme. All the themes effect different properties of the same object equally and are not meant to be nested. Thanks for catching this.

killerantz avatar Apr 18 '19 17:04 killerantz

image

Maybe the first Theme in the list needs to be indented with the second, so that they imply more that they are effecting the target.

killerantz avatar Apr 18 '19 17:04 killerantz

@killerantz I like the idea of indenting the first theme to the same level as the others as I think it clarifies the relationship

genereddick avatar Apr 19 '19 03:04 genereddick

@genereddick feel free to open a PR to fix this!

Yoyozilla avatar Apr 30 '19 20:04 Yoyozilla

I created a PR #4143

killerantz avatar May 01 '19 18:05 killerantz