How to hide vertical scrollbar in wxTextCtrl? - text

I'm using wxWidgets for a cross platform app. In this app, there is a text control that contains enough text to cause the vertical scrollbar to appear. However, I do not want the scrollbar to appear. There is a flag wxTE_NO_VSCROLL that works on Windows but not *nix. Any ideas?

I upgraded to wxGTK 2.9.0 and that worked.

Related

Viewport Strech Mode Issues

I'm using godot 3.1 on windows and i created new project with a 2d scene.
I selected the stretch mode viewport and the expand aspect options,
when I run the scene and try to resize the window, the viewport turns black.
This appears to be a known bug still in Godot's core as per a GitHub bug report
Stretch Mode "viewport" causes screen not to update / black screen #23054
Also discussed here:
https://godotengine.org/qa/30600/black-screen-on-resize
I don't think there is a solution at the moment.

VS Express 2012 Code View Scrollbar shrunk

Normally the vertical scrollbar in the text editor (code view) of Visual Studio Express 2012 runs the full length of the window you're viewing the text in.
After installing on a new machine, my new scrollbar is two sad little arrows, one up, one down, and cannot be navigated by moving the indicator inbetween them as there isn't one. If I split the view, I get two sets of scrolling nubs.
I've tried disabling and re-enabling the vertical scrollbar in Tools > Options > Text Editor > General. When disabled the miniature scrollbar goes away and comes back miniature if I re-enable.
Trying to figure out what setting or group of settings regulate this and how to get back my proper scrollbar.
Following worked for me
Go to %System Drive%\Users(user-account)\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Rename the cache file (Microsoft.VisualStudio.Default.Cache) present there to 'Microsoft.VisualStudio.Default.Cache_1'.
Restart the visual studio.

Eclipse Scroll Pane Cutting Parts of its Content Away

Like I say in the title, Eclipse Neon's scroll panes cut away parts of their content. Here's a screenshot showing what I mean:
Notice they light-gray rectangles at the bottom, side, and top of the scroll pane containing the Java code. Same thing happens with any other scrollable GUI object in Eclipse, and it's becoming rather annoying.
This is happening in the latest version of Eclipse Neon running on Ubuntu 16.04 with the latest OpenJDK.
Any help with resolving this issue is appreciated.
It turned out I was using a GTK+ theme than did not work well with Eclipse, and was causing said issue (the theme in question was a Windows-10-lookalike theme).

Matlab linux GUI glitches

I've been having this problem with the Matlab GUI (linux) that has been annoying me for over a year but I still haven't found a solution.
Basically, the autofix hints are not displayed. When I move the mouse cursor over a potential warning/suggestion, a gray-background pop-up appears but the text inside is missing. The same happens when I hover over those little warning bars on the right hand side of the editor. Does anyone have any clue what might be causing this?
Screenshot: http://i58.tinypic.com/4veu.png
This happens only on my linux machine (Ubuntu 14.04 LTS, NVidia GeForce with nvidia driver).
Thanks!
For those interested, this issue appears to be related to the Unity Desktop. Mathworks does not provide a fix but suggests using a different XServer instead. Here is the answer I received from support:
This issue is known to occur due to a windowing system used with
"linux" on which MATLAB has not been tested. It has been observed that
if you are using "Unity desktop" in "linux", then the tooltips are
displayed as blanks.
To work around this issue, you may try switching off "Unity desktop".
You can refer to the following links for more information on this
issue:
http://www.mathworks.com/matlabcentral/answers/116987-empty-tooltips-in-code-analyzer
matlab code analyzer produces empty tooltips
Indeed, I tried lubuntu and XUbuntu (Xfce) and the tooltips in Matlab were working in both cases. I find Unity very handy because I got used to it, so for now, I will probably simply not use this Matlab feature. Hopefully this will be fixed eventually.
It's an old post but some people may be still looking for a solution or a hack. Well, I also had this issue on R2015a when using two monitors and hiding Ubuntu 14.04 sidebar seems to do the trick. This link explains how to do it: http://www.howtogeek.com/198218/how-to-easily-hide-the-unity-launcher-in-ubuntu-14.04/. Hope it helps!
This is accomplished, in the article, by:-
1) Select “System Settings” from the drop-down menu.
2) The “System Settings” dialog box displays. In the “Personal”
section, click “Appearance.”
3) On the “Appearance” screen, click the “Behavior” tab.
4) On the right side of the “Behavior” tab, there’s an ON/OFF switch.
Click the switch so it reads ON.
5) The ON/OFF switch also turns orange. Additional options for how to
show the hidden Unity Launcher become available in the “Auto-hide the
Launcher” section of the “Behavior” tab. Under “Reveal location,”
select whether you want to move the mouse to any location on the “Left
side” or just to the “Top left corner” of the screen to reveal the
Unity Launcher. Use the “Reveal sensitivity” slider to change the
sensitivity of the reveal location.
6) Once you have chosen your settings, close the “Settings” dialog box
by clicking the “X” button in the upper-left corner of the dialog box.
This happens to me in Ubuntu 15.10 using xfce, with two monitors connected to an Nvidia GeForce 8600 GT, one of which is rotated to portrait orientation. The "workaround", from the page Anton linked, is to resize my matlab desktop such that the red underlined text or red scrollbar annotation is in the bottom third of my left monitor. Unbelievable.
My preferred workaround is to use Python+Scipy+Matplotlib instead of Matlab.

How to enable vertical scroll bar in windows app?

I added a TextBlock that have more text than visible. Now even thought I try to set every single properties about Scrollbars to be enabled or visible, I have none in the Simulator or even running the app from the START SCREEN. I also tried to add my TextBlock in a ScrollViewer, no luck !
I'm using HTML + Javascript
You can use overflow property of CSS.

Resources