python - wxgrid cell renderer set col size -


i made class whic extends pygridcellrenderer , can set size of columns self.colsize = some_size, sets same size columns, how can set size specific column?

try this:

setcellsize(row, col, num_rows, num_cols); 

thissets cell @ coordinates row, col flow on num_rows rows , num_col columns.

if not want , want work pixel then:

setcolsize(col, width); setrowsize(row, height); 

you can determine current size of row or column using :

getcolsize(col) getrowsize(row) 

let me know if not work.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -