{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1844","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1844/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1844/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1844/events","html_url":"https://github.com/asciidoctor/asciidoctor/issues/1844","id":172059499,"number":1844,"title":"Allow width of individual column to be set to auto","user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars2.githubusercontent.com/u/79351?v=4","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"labels":[{"id":6197066,"url":"https://api.github.com/repos/asciidoctor/asciidoctor/labels/enhancement","name":"enhancement","color":"009800","default":true}],"state":"open","locked":false,"assignee":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars2.githubusercontent.com/u/79351?v=4","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"assignees":[{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars2.githubusercontent.com/u/79351?v=4","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/milestones/22","html_url":"https://github.com/asciidoctor/asciidoctor/milestone/22","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor/milestones/22/labels","id":2409315,"number":22,"title":"v1.5.7","description":"","creator":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars2.githubusercontent.com/u/79351?v=4","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":114,"state":"open","created_at":"2017-03-24T14:37:18Z","updated_at":"2018-05-01T01:06:57Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-19T05:49:52Z","updated_at":"2018-05-01T01:16:19Z","closed_at":null,"author_association":"OWNER","body":"Currently, the setting for automatic column widths is all or nothing. If you set the autowidth option on a table, all the columns get automatically sized (no width is not specified, which tells the browser to adjust the width automatically).\n\nThere are times when the author wants just a selection of the columns to have an automatic width, with the width of the other columns remaining fixed.\n\nI propose we use `~` for this purpose (as `*` is already taken).\n\nExample:\n\n```\n[cols=\"25,~,~\"]\n|===\n| Column fixed at 25%\n| This column will autosize based on the width of the content.\n| C\n|===\n```\n"},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/comments/385575057","html_url":"https://github.com/asciidoctor/asciidoctor/issues/1844#issuecomment-385575057","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1844","id":385575057,"user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars2.githubusercontent.com/u/79351?v=4","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T01:16:19Z","updated_at":"2018-05-01T01:16:19Z","author_association":"OWNER","body":"What I discovered is that if there's at least one autowidth column, then any fixed column widths must be a percentage value. Otherwise, we don't know what the base width is (since not all columns are participating in the ratio).\r\n\r\nFor example, in the following case we must assume that the columns add up to 100% to know what value to assign to the fixed column:\r\n\r\n```\r\n[cols=\"25%h,~\"]\r\n|===\r\n| Header cell\r\n| Content cell\r\n|===\r\n```"}}
{"actor":{"display_login":"mojavelinux"}}