I would like to know how to use the Vuetify expansion panel in sideways opening mode instead of opening downward.
https://vuetifyjs.com/en/components/expansion-panels/#usage
Related
Anybody knows how to set the background for the vertical tabs?
I love that feature, but with my favourite theme you can't see squat...
...its gray on gray
I have the same problem. I wasn't able to find a way to change the background color, but at least I found a way to change the foreground color, so that at least the tabs become visible.
I have installed Color Theme Editor for VS 2019. It comes with many themes, which you can make a copy of, then edit the copy. In the color theme editor you must search for Document Well - Tab, then scroll to Unselected. Changing the background color here unfortunately only affects horizontal tabs, but changing the foreground do affects both horizontal and vertical tabs.
Here is a screenshot of the extension in action:
Don't forget to click on the "Save and apply theme" in the upper left corner of the extension page.
I'm using a CListBox with Extended selection. When I click on the control, no keyboard caret is shown. Using the up and down arrows also doesn't allow me to show the caret. If I press tab and then shift tab, I can then see the caret. Using GotoDlgCtrl(&listboxCtrl) or listboxCtrl.SetFocus() also don't work.
How can I get the keyboard caret to show up on mouse click or programmatically?
Using the mouse is not supposed to display the keyboard related UI features:
For example, if the last input came from the mouse, the system will hide the keyboard cues. And, if the last input came from the keyboard, the system will show the keyboard cues.
To fake a change you can use:
PostMessage/SendMessage(hListBox, WM_UPDATEUISTATE, MAKELONG(UIS_CLEAR, UISF_HIDEACCEL|UISF_HIDEFOCUS), 0);
...or send it to your top-level window if you want to apply the change to all children.
On extremely rare occasions, when I hover my mouse over a closing brace in Visual Studio, a floating window appears that displays the code fragment that is just before the opening brace. For example, it might show, if(x==1) {.
How do I enable this behavior?
(FWIW, I do know about, and use, the Ctrl+] keyboard shortcut to jump between the opening and closing braces, but the preview window reduces my need to do this.)
Duh! The preview window appears when you hover the mouse over one of the vertical lines that identifies begin/end braces, not when you hover it over the ending brace (as I mistakenly thought).
In the VSCode editor when you pull the scroll bar down to the bottom of the file, all you see is a blank page, since the text has scrolled up past the top of the text editor window. This makes scrolling to the bottom difficult because you can't just pull the scroll bar quickly all the way down but have to carefully position the cursor so you can still see your code.
Very similar to How to make Visual Studio editor stop scrolling past bottom of a file?, but comments have pointed out that question/answer is for Visual Studio. This answer is for VSCode on the macOS and Windows.
The correct answer is seen here: https://stackoverflow.com/a/40588828/1189470
There is a configuration option provided in VSCode for the functionality you specified. To enable it, go to File -> Preferences -> user settings
On the right side of the editor in settings.json paste the below line at the bottom (before closing bracket), save and close.
"editor.scrollBeyondLastLine": false
This will prevent the editor from scrolling beyond the last line.
This is now exposed as a simple checkbox labeled "Editor: Scroll Beyond Last Line" in File/Apple -> Preferences.
If just for readability you would like some space at the bottom of the file - a configurable amount - try this setting as of v1.43:
editor.padding.bottom in pixels
Editor> Padding: Bottom
Controls the amount of space between the bottom edge of the editor and
the last line.
and/or
editor.padding.top // but this isn't sticky in the sense that you can scroll right past the padding top and it is gone. It doesn't stay.
I want to move the pinned tabs so that they are on the right side of the tab bar.
Is there a separate bar for the pinned tabs?
If so, how can I either move the "pinned tab bar" so that it stays to the right, relative to the normal tab bar?
Does anyone have any thoughts or code snippets so that I can manipulate the pinned tabs?
It's all done using relative positioning. If you wanted everything to line up to the right you'll have to essentially rewrite this function, _positionPinnedTabs see it here in the source code: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/tabbrowser.xml#3179
With a function like _positionPinnedTabs using MozMarginEnd (in the tab box case) instead of MozMarginStart you could create the right hand side space for the tabs. Then you'd just need to position the tabs correctly in that space. Sorry it's not easier :)