Changing a timeline tracks height in Unity to save space - unity3d

The tracks in my timeline are massive. If I max out the window on my 15" macbook I can see 9 tracks in total. Is it possible to change their height somehow?
I feel like this should be possible as I've seen screenshots where they are a lot smaller, but nothing I do seems to work. Zooming only works on x-axis and there doesn't seem to be any scale handles at the edge of the tracks...

Use Crtl + mousewheel to change height of track...

I just ran into this problem, too. Although there seems to have no direct way to change the track height, I found a way modify the preference file of Timeline editor.
Find a file located under your project's Library/Timeline folder (its name should be xxxxx.pref), open it with a text editor, change the number after trackScale to 1, and you should be fine.
Screenshot: Timeline preference screenshot, the left one has trackScale of 1, whether the right one has trackScale of 3.79

You can scroll through using mouse wheel.
Last time I checked, the height was not changeable. You may have seen Track Group.
Also, a good idea is to group the tracks. To add a Track group, click the Add button and select Track Group from the Add menu. You can also Right-click an empty area of the Track list and select Track Group from the context menu.
More about this: https://docs.unity3d.com/Manual/TimelineOrganizingTrackGroups.html

Related

How to re-order Listeners for OnClick in the Inspector?

I'm currently having an issue with unity UI.
I have some buttons to who I've added an instruction in OnClick directly in the editor, but because it is in the last position in the list of instructions, it is executed at a poor time.
I would like to know if there is a way to move these instructions up and down, as to change the order in which they are executed ?
I've tried to slide them up and down to no avail, and no amount of google searches seem to help.
Feel free to ask any questions if you need more specific information !
Edit : Added a screenshot. I want to move the items in the circled area up and down if possible without having to delete it all and restart...
Screenshot of the hierarchy with concerned area circled:
Even if you were able to reorder events, order doesn't mean execution order.
https://forum.unity.com/threads/solved-unityevent-invoke-calling-order.265292/#post-1753393

VisualStudioCode - how to enable current cursor position

How do I enable this view? To show current cursor position (line, column) and number of selected characters? I think I've checked all possible values in the settings, yet I still do not know where to find it.
If you don't see the position and selection count, it is probably the case that you have too much items in the status bar. Disable the ones are not relevant to you by right clicking on the status bar:
Also if you don't use your entire screen width, they also disappear if there isn't enough real-estate. Unfortunately I don't think there is a way to set priority to the items.
Please follow these steps
View -> Appearance -> Show Status Bar
It looks like the functionality you ask about was added quite recently. Here it is said that "line number and column number are shown in version 1.46, May 2020. On selection, they disappear."

mapbox with markers and checkboxes - disable all from showing on initial load?

I have a page I built to display wind direction/velocity in various locations along a bike trail:
http://microflush.org/cgi-bin/pathInfo.cgi
I have several markers in a legend, with check boxes to enable/disable them from showing up on the map.
My goal is to have NONE of the checkable markers show up on the initial load. However, when the page is loaded for the first time, ALL show up-- even though they're not checked. If I select 1, they all go away except for the one I selected, which will then disappear if I un-check that box.
Is there a way to make them all be invisible at first, and only show up if they're selected?
(You can view the source of the link above to see the code. I wasn't sure if I should post that all, since it's kinda long with all the points I've added.)
Thanks!
Resolved. The 'var map' needed to be defined earlier in the code. Working properly now.

When using a browser in my progress application the scroll bars never work correctly

When using a browser in my progress application the scroll bars never work correctly. It will show that I can only scroll down a little but then keeping going. Is this a bug in progress or is there something I can do to fix this problem?
define query browse-4 for customer.
DEFINE BROWSE BROWSE-4
QUERY BROWSE-4 NO-LOCK DISPLAY
custNum name
/* ENABLE name */
WITH NO-ROW-MARKERS SEPARATORS SIZE 32 BY 6.46 FIT-LAST-COLUMN.
.
open query browse-4 preselect each customer no-lock.
enable browse-4.
wait-for window-close of current-window.
You can adjust the MAX-DATA-GUESS property for the browse. You can get the value from NUM-RESULTS after the preselect query has been opened. Or you can set it to a suitable guesstimate without using preselect.
Keep in mind that using preselect causes every record to be read instead of just enough to fill the first browse window. That is potentially a lot of extra DB reads and network traffic just to get the scrollbars correct.
You may be confusing the scrollbar on the containing frame with the scrolling of the browse.
Do you see two boxes outlining the browse? If you add "with no-box" to your "enable" does the scrollbar that is bothering you go away?
If it does then the problem is that your containing frame (which is the default un-named frame because you have not specified a frame phrase with the ENABLE) is smaller than the browse viewport. So you are seeing a scrollbar on the FRAME, not on the BROWSE, that is trying to tell you that you can scroll the frame up and down to see the complete viewport of the browse. The browse may also scroll within that containing frame depending on how much data there is.
If you are running this code in a character (Unix) environment you should also be aware that many GUI features of the BROWSE are not available. Especially anything related to appearance. Like scrollbars.
This is a known "feature" of Openedge GUI, unfortunately.
The position of the slider on the right of the browse is not directly related to the number of records in the query, but to the "Max Data Guess" property of the browse.
You can set this value yourself in the property dialogue for the browse widget (it's just below the "query" editor, in v10 at least).
Just set it to a really big number (say 10,000) and the browse will behave as it should.
the main problem for my question is mainly ,i am deleting temptable before completing the excecution,that is the main reason for the vertical-scrollbar is not working,after eleminating this temp-table deletion statements .automatically vertical-scrollbar is working.
for each ttdummy:
delete ttdummy.
end.

Widget widths: 50% + 50% > 100%?

I am using Google Apps Script and the Apps Script UI Builder, which is based on GWT widgets.
If I create a Flow Panel, and add two Labels of 50% width, then these labels appear on separate lines. But isn't 50% + 50% = 100%.
How do I make them appear on the same line?
To try it out yourself:
Open a Google Spreadsheet.
In the Spreadsheet menu, click: Tools / Script Editor...
In the Script Editor menu, click: File / Build a user interface...
Add the widgets to the canvas.
Of course this question doesn't just apply to the problem with the labels. In general I am totally puzzled concerning how to build flowing layouts with the UI Builder. There seem to be (hidden?) paddings and margins that make things very hard.
It's all based on CSS and its box model, and that issue has accumulates cruft over the last 15 years or so. In essence, the widths you specify don't take into account margings (and/or possibly padding, it's been a while), so you will need to add a stylesheed that minimizes them. See something like this CSS reset.
Labels translate to <div>s, which appear on different lines by default. You could try adding float: left to the labels, or change the display mode, etc.
You could also try InlineLabels, which I think compile to <span>s.
If you've already tried all this, then your Labels are apparently just too wide. It's annoying that two 50% objects wouldn't fit on the same line, but what isn't annoying about working with HTML and CSS?
The solution is simple. For both labels, set to zero:
Borders and Margins / Margin
Don't know why I didn't see that yesterday - I was doing a night shift... ;-)