Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document is not centered in Centered layout and Zen mode after resizing #51591

Closed
alexdevero opened this issue Jun 11, 2018 · 2 comments
Closed
Assignees

Comments

@alexdevero
Copy link

Issue Type: Bug

Openned document is not centered in centered and zen mode after resizing it, changing its width. The gaps on sides are not changed evenly, only one sides either grows or shrinks.

  1. Open some document.
  2. Toggle Zen or Centered mode
  3. Rezize the width of the document.

Expected:
When resizing the document, changing its width, the gaps will shrink/grow evenly - the document will remain in the center of the screen.

Zen mode:
vscode-centered-layout-issue-zen-layout

Centered layout:
vscode-centered-layout-issue-centered-layout

VS Code version: Code - Insiders 1.25.0-insider (28d5806, 2018-06-11T05:17:42.700Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz (4 x 2594)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.89GB (10.20GB free)
Process Argv E:\Programs\Documents\Microsoft VS Code Insiders\Code - Insiders.exe
Screen Reader no
VM 0%
Extensions (18)
Extension Author (truncated) Version
color-info bie 0.5.0
language-postcss cpy 1.0.5
vscode-svgviewer css 1.4.4
EditorConfig Edi 0.12.4
vsc-material-theme Equ 2.1.0
auto-close-tag for 0.5.6
wordcounter kir 1.2.2
contextualduplicate laf 0.2.0
vscode-language-babel mgm 0.0.14
dotenv mik 1.0.1
vscode-csscomb mrm 5.2.2
vscode-duplicate mrm 1.2.1
vscode-icons rob 7.23.0
code-settings-sync Sha 2.9.2
code-spell-checker str 1.6.10
code-spell-checker-czech str 0.1.0
dictionary-completion yzh 0.6.1
html-css-class-completion Zig 1.17.1

(1 theme extensions excluded)

@isidorn
Copy link
Contributor

isidorn commented Jun 11, 2018

Dup of #50936

@isidorn isidorn closed this as completed Jun 11, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants