We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if (GUILayout.TreeNode("Child regions", ref childRegionsOpen)) { GUILayout.Text("Without border"); bool goto_line = GUILayout.Button("Goto"); GUILayout.PushFixedWidth(100);//+2 var newLine = GUILayout.InputInt("##Line", line); if (newLine != line) { goto_line = true; } GUILayout.PopStyle(2);//-2 using (GUILayout.HScope("HGroup~1")) { if (GUILayout.BeginChild("Sub1", GUILayout.Height(300).ExpandWidth(true))) { for (int i = 0; i < 50; i++) { GUILayout.Text("{0,4}: scrollable region", i); if (goto_line && line == i) { //SetScrollHere();//TODO } } if (goto_line && line >= 10) { //SetScrollHere();//TODO } GUILayout.EndChild(); } if (GUILayout.BeginChild("Sub2", GUILayout.Height(300).ExpandWidth(true))) { GUILayout.Text("With border"); for (int i = 0; i < 50; i++) { GUILayout.Button(string.Format("0x{0:X8}", i * 5731)); } GUILayout.EndChild(); } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: