Right to left issue in .Net Maui when assigning the current culture to arabic - maui

I'm facing a strange issue when I assign the Arabic language as a culture by writing this line, the close, minimize and maximize buttons appear on the right corner but you can't click on them because they are actually on the left side.
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("ar");
I believe this is right-to-left issue.

This is a verified bug of Maui on Windows, you can follow up this issue: On Windows (WinUI) Minimize, Normal, Maximize buttons behave strangely.

Related

Click to expand side editor

I just upgraded to v. 1.25 (deb) and a feature that I liked just doesn't work anymore: on previous version, when I clicked on a side editor that was completely collapsed to the side it would expand into view. Does not work anymore for some reason.
Any settings to restore that behavior?
As commented, the VSCode 1.26 release notes mentions:
Grid: Automated maximize of minimized editors
One feature we lost during the introduction of the grid editor layout last milestone was the ability to have editors automatically maximize when you focus them and they are in their minimized state.
This feature is now working as before
:
Restore "snap to minimize/maximize" feature with grid editor layout.
This solves issue 51614 (also illustrated with this duplicate), with commit 61e0cf0.
If you would like to maximize one of the editors and then be able to expand other editors by focusing on them without manually dragging the separator bar to first maximize one editor first, see the new command as of v1.38:
workbench.action.toggleEditorWidths
and How to maximize a split in VScode. just a little nicer than futzing with dragging the separator bar.

Editor tab disappeared in GUI

The MATLAB GUI normally (for me) has 4 tabs in the upper left - Home, Plots, Apps and (I think) Editor. However the editor tab has disappeared and I cannot find documentation how to turn it back on. I tried the Layout->Default but that just arranges all the visible windows and doesn't re-enable to missing editor.
Does anyone know how to turn this back on?
Type edit in the command window.
Unfortunately you are right, there is no 'Editor' option in the Layout panel of Matlab's interface, and for obscure reasons it's not present in the default layout.
OK, I've checked Ratbert's answer as he got here before me but Mathworks tells me it disappears any time you're not actually editing any code. If that happens their answer was to just click on the New Script button. Doing that worked for me. Typing edit in the command window is (I think) doing the same thing.
Thanks!
For anyone that finds this thread at a later date I eventually debugged the root cause of this problem as a mouse that was failing. When attempting to close the open variables part of the GUI, when clicking the X in the upper left, the mouse was generating two clicks instead of one. The first closed the variables GUI, the second closed the editing GUI. Purchasing a new mouse resulted in no longer seeing the problem at all.
in matlab command window, go on top right triagle and click, a drop down list will appear, select undock editor

Moving the panel in VS Code

Is it possible to move the panel/terminal in VS Code to the side of the screen instead of the default bottom? Like if I was doing split screen, but instead of code in the right window, it was the terminal?
Not as of VScode 1.14. We are tracking this feature request here
It doesn't appear to be. There are no documented settings that allow you to do this. The split view editor can be swapped between horizontal and vertical with ⌘+Option+1 on macOS or Shift+Alt+1 on Windows but that doesn't apply to the panel window.
Update:
Support was added in version 1.18 (October 2017)

Set MATLAB Programming Environment fullscreen (without Title Bar) in Windows

I am currently setting up my MATLAB programming environment in windows. I am trying to remove the title bar at the very top of the screen while editing code. It is similar to the "Enter Full Screen" feature in IntellijIDEA based editors. I am well aware that this is possible MacOSX but did not find any feature supported in Windows. Thank you in advance for your help.
Matlab does not have a true full-screen option on Windows, but take a look at this help page: Optimize Desktop Layout for Limited Screen Space.
Title bars can be hidden by going to the Home tab > Environment section > Layout. Under Show, you can select or deselect "Panel Titles".
You can also hide the toolstrip by clicking the arrow in the upper right corner.
There appears to be no way to hide the Windows title bar and tabs at the very top, but combining these options should get you pretty close to the "full-screen" look you describe.

Horizontal scrolling with the scrollwheel in Eclipse

I've been trying to find a way to scroll the text horizontally with my scrollwheel in Eclipse, similar to the way you can do it in Textpad. In Textpad if you hold ctrl while you scroll vertically it will scroll horizontally. Does anybody know if there is a configurable setting somewhere in Eclipse that will allow this? I've looked all over the "keys" setting page without being able to find it, and Google/Stack Overflow searches haven't turned anything up for me.
Thanks.
I guess this depends more on your OS than on Eclipse. For instance on Mac OS it's Shift + Scrolling.
#Daniel Sokolowski's answer was almost working. I have been using X-Mouse Button Control for over a year now and didn't know how to get the Horizontal Scrolling to work on certain programs (like Eclipse and Chrome) until I read Sokolowski's answer which pointed me in the right direction.
For the sake of brevity, and not to duplicate what has already been written clearly by Sokolowski, follow his directions, and in addition do the following:
Add Eclipse to your Applications list in X-Mouse by clicking Add and finding javaw.exe in the "Choose Application" popup and clicking OK.
Now click on the "Eclipse" profile and choose the "Scrolling & Navigation" tab
Under the "Advanced Window Scrolling" choose Method 1(SCROLL Msg) option for Scroll Method
Click Apply
If you correctly followed Sokolowski's and my instructions together you should be able to press Shift while scrolling up or down to trigger a horizontal scroll.
On a Windows machine this worked for me:
Download X-Mouse Button Control
In the main window go to 'Layer 2' and change 'Wheel Up' and 'Wheel Down' to 'Scroll Windows Right' and 'Scroll Window Left'
Go into the 'Settings > Modifier Keys Tab' and select 'Shift' for the 'Activate Layer 2' setting.
Now in whatever active window, including Eclipse pressing shift and then scrolling up and down will scroll horizontally.
Update: I have been using this approach for a few days now and noticed that not all windows are horizontal scroll enabled, for example 'Package Explorer' is not but 'Navigator' is - this appears to be a limitation of Eclipse IDE rather than this approach. Please take a moment and upvote this Eclipse Bug #201984
You have a plugin supposed (not tested) to support horizontal scrolling.
But without plugin, SWT does not support horizontal scrolling on Windows.
Its support is planed for 3.6 though. (since 3.6M2, actually -- September 18, 2009)
New event constants have been added for horizontal mouse wheels.
See SWT.MouseHorizontalWheel and SWT.MouseVerticalWheel.
For me the best way while using eclipse or for that matter any IDE, is to have a new line char at the end of screen. I feel that to use horizontal scrolling to view data becomes bit difficult while going back and forth and I would like all code to be visible to me always. If the code you are trying to view requires you to use horizontal scroll bar then try to format it by using Ctrl+Shift+F.
The bug has been fixed in the latest update of Eclipse.
In your Eclipse menu bar, simply:
1. Click Help>Check for Updates.. (and wait for the progress bar at the bottom to finish checking)
2. Install all updates.
Once Eclipse IDE gets restarted, you are now able to scroll horizontally.
(Save yourself from having to install additional mouse softwares to create new configurations. Phew, I'm so glad I figured this one out for myself)
Cheers!