Enamlx question

41 views
Skip to first unread message

Quelgeek

unread,
Feb 6, 2019, 6:58:07 AM2/6/19
to Enaml
I have thrown myself in the deep end, trying to get started using three unafamiliar packages simultaneously, i.e. Qt, Enaml, and Enamlx. I have quickly encountered a trivial question about using Enamlx TableView.

How do I hide the vertical_headers when I define the TableView in my .enaml file?

(I am sure once I know the answer to this a lot of other things will come clear for me.)

Roy

Quelgeek

unread,
Feb 6, 2019, 6:59:47 AM2/6/19
to Enaml
Following up on my own post: almost as soon as I sent it I realized I just need to look in lib\site-packages\enamlx\qt\qt_table_view.py. The set_show_vertical_header() method was right there at line 101.

So all I needed in my .enaml file was:

    TableView: table:
        ...
        show_vertical_header = False
        ...

And sure enough, now a lot of things are much clearer for me.
Reply all
Reply to author
Forward
0 new messages