Read only label is not affected by status bar visibility
Filipsi opened this issue · 1 comments
Describe the bug
Label indicating that editor is in "read only" mode is not affected by status bar visibility and creates empty space if shown.
To Reproduce
- Set StatusBarVisibility property to "Collapsed"
- Set ReadOnlyMode property to "True"
Expected behavior
Currently, the "read only" label is not part of the status bar.
In my opinion, this is incorrect since read only mode is a "status" of the editor.
It would be helpful to move it to the status bar, since it would allow it to be hidden.
As a side effect, it would also probably resolve positioning issues simar to ones described in issue #74.
Alternatively, if it's not possible to change editor layout, it would be helpful to at last have property to control it's visibility.
Screenshots
Read only mode disabled with status bar collapsed
Read only mode enabled with status bar collapsed
Desktop:
- OS: Windows 10
- Platform: .NET Core 3.1
Oupssi will correct this 😅