﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31220	"Widgets  ignores ""cols"" attribute."	david html	nobody	"I have tried two different packages and it appears that the cols attribute for Widget doesn't recognise the ""cols"" attribute 

example 1


{{{
class PostAdmin(admin.ModelAdmin):
    formfield_overrides = {
        models.TextField: {'widget': AdminMarkdownxWidget (attrs={'rows': 5, 'cols': 100, 'style': ' font-size: 1.5em; font-family: HelveticaNeue;'})},
     
    }
}}}

rows and style work fine, cols doesn't change the admin form

example 2 


{{{
models.TextField: {'widget': AdminPagedownWidget(attrs={'rows':20, 'cols':200,
                                                   'style': ' font-size: 1.2em;'
                                                    })},
}}}

I also note that in the documentation (https://docs.djangoproject.com/en/3.0/ref/forms/widgets/#textarea )  doesn't refer to the cols attribute so I wonder if it can still be changed "	Bug	closed	Forms	3.0	Normal	invalid	widgets		Unreviewed	0	0	0	0	0	0
