Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Button with menu/tooltip on mouseover and auto hide option does repaint exception. #21

Open
hashashin opened this issue Apr 26, 2014 · 1 comment

Comments

@hashashin
Copy link

I'm trying to make a button that's a normal button and also has a menu on mouseover, if the toolbar is configured to auto hide and you want to unhide him by passing the mouse over the button with menu you get a repaint excep and the toolbar keep mid-showing. I can repro that behavior with the test buttons also, the one that have the tooltip on mouseover does that, button10.
All seems work fine if the auto hide it's off.

Salud.

hashashin added a commit to hashashin/ksp-img_viewer that referenced this issue Aug 5, 2014
version bump 0.2.2, proper description
@Galenmacil
Copy link

Possibly related to that issue:

[EXC 22:59:39.423] ArgumentException: Getting control 0's position in a group with only 0 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext ()
UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType)
UnityEngine.GUILayout.BeginArea (Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style)
UnityEngine.GUILayout.BeginArea (Rect screenRect, UnityEngine.GUIStyle style)
Toolbar.Toolbar.drawToolbarBorder ()
Toolbar.Toolbar.draw ()
Toolbar.ToolbarManager.OnGUI ()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants