{"action":"created","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/21318","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/21318/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/21318/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/21318/events","html_url":"https://github.com/chrmarti/testissues/issues/21318","id":331098019,"node_id":"MDU6SXNzdWUzMzEwOTgwMTk=","number":21318,"title":"Document is not centered in Centered layout and Zen mode after resizing","user":{"login":"vscodebot[bot]","id":28792856,"node_id":"MDM6Qm90Mjg3OTI4NTY=","avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[{"id":850061885,"node_id":"MDU6TGFiZWw4NTAwNjE4ODU=","url":"https://api.github.com/repos/chrmarti/testissues/labels/insiders2","name":"insiders2","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T08:50:25Z","updated_at":"2018-06-11T08:50:29Z","closed_at":null,"author_association":"NONE","body":"\r\nIssue Type: <b>Bug</b>\r\n\r\nOpenned 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.\r\n\r\n1) Open some document.\r\n2) Toggle Zen or Centered mode\r\n3) Rezize the width of the document.\r\n\r\nExpected:\r\nWhen resizing the document, changing its width, the gaps will shrink/grow evenly - the document will remain in the center of the screen.\r\n\r\nZen mode:\r\n![vscode-centered-layout-issue-zen-layout](https://user-images.githubusercontent.com/4237724/41221689-1e214e06-6d65-11e8-9223-fa8eb622a1b3.gif)\r\n\r\nCentered layout:\r\n![vscode-centered-layout-issue-centered-layout](https://user-images.githubusercontent.com/4237724/41221701-25834636-6d65-11e8-906e-6d3b1b03ca72.gif)\r\n\r\nVS Code version: Code - Insiders 1.25.0-insider (28d5806f24f99c2c6ad633e4e08ed5ea00169c83, 2018-06-11T05:17:42.700Z)\r\nOS version: Windows_NT x64 10.0.17134\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i5-4210M CPU ! 2.60GHz (4 x 2594)|\r\n|GPU Status|2d_canvas: enabled<br>checker_imaging: disabled_off<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>native_gpu_memory_buffers: disabled_software<br>rasterization: enabled<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled|\r\n|Memory (System)|15.89GB (10.20GB free)|\r\n|Process Argv|E:\\Programs\\Documents\\Microsoft VS Code Insiders\\Code - Insiders.exe|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\r\n</details><details><summary>Extensions (18)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\ncolor-info|bie|0.5.0\r\nlanguage-postcss|cpy|1.0.5\r\nvscode-svgviewer|css|1.4.4\r\nEditorConfig|Edi|0.12.4\r\nvsc-material-theme|Equ|2.1.0\r\nauto-close-tag|for|0.5.6\r\nwordcounter|kir|1.2.2\r\ncontextualduplicate|laf|0.2.0\r\nvscode-language-babel|mgm|0.0.14\r\ndotenv|mik|1.0.1\r\nvscode-csscomb|mrm|5.2.2\r\nvscode-duplicate|mrm|1.2.1\r\nvscode-icons|rob|7.23.0\r\ncode-settings-sync|Sha|2.9.2\r\ncode-spell-checker|str|1.6.10\r\ncode-spell-checker-czech|str|0.1.0\r\ndictionary-completion|yzh|0.6.1\r\nhtml-css-class-completion|Zig|1.17.1\r\n\r\n(1 theme extensions excluded)\r\n\r\n</details>\r\n<!-- generated by issue reporter -->"},"comment":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/comments/396169669","html_url":"https://github.com/chrmarti/testissues/issues/21318#issuecomment-396169669","issue_url":"https://api.github.com/repos/chrmarti/testissues/issues/21318","id":396169669,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjE2OTY2OQ==","user":{"login":"vscodetestbot[bot]","id":29067401,"node_id":"MDM6Qm90MjkwNjc0MDE=","avatar_url":"https://avatars2.githubusercontent.com/in/2665?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodetestbot%5Bbot%5D","html_url":"https://github.com/apps/vscodetestbot","followers_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodetestbot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-11T08:50:29Z","updated_at":"2018-06-11T08:50:29Z","author_association":"NONE","body":"Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [Opening new window while in zen mode causes it to use centered layout (#16332)](https://www.github.com/chrmarti/testissues/issues/16332) <!-- score: 0.619 -->\n- [Image editor is not centered in Centered Layout (#17765)](https://www.github.com/chrmarti/testissues/issues/17765) <!-- score: 0.583 -->\n- [Centered mode doesn't work in horizontal  (#15456)](https://www.github.com/chrmarti/testissues/issues/15456) <!-- score: 0.554 -->\n- [Centered layout drag to resize mouseover obstructing open file tab. (#16898)](https://www.github.com/chrmarti/testissues/issues/16898) <!-- score: 0.543 -->\n- [Feature request: do not apply centered layout to webviews (#20649)](https://www.github.com/chrmarti/testissues/issues/20649) <!-- score: 0.507 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodetestbot"}}