Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 641893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:06:43+00:00 2026-05-13T21:06:43+00:00

I created a TreeListCtrl in wxPython like following. self.tree = wx.gizmos.TreeListCtrl(self, style = wx.TR_DEFAULT_STYLE

  • 0

I created a TreeListCtrl in wxPython like following.

self.tree = wx.gizmos.TreeListCtrl(self, style =
                                           wx.TR_DEFAULT_STYLE
                                           | wx.TR_FULL_ROW_HIGHLIGHT | wx.TR_HIDE_ROOT | wx.TR_HAS_VARIABLE_ROW_HEIGHT)

As you see i set wx.TR_HAS_VARIABLE_ROW_HEIGHT but there is no effect. All the rows have same height.

How can i change the row height in TreeListCtrl.

Regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:06:43+00:00Added an answer on May 13, 2026 at 9:06 pm

    wx.TR_HAS_VARIABLE_ROW_HEIGHT applies to wx.TreeCntrl not wx.gizmos.TreeListCtrl, read http://www.wxpython.org/docs/api/wx.gizmos.TreeListCtrl-class.html to see what that tree cntrl can do

    If you see the doc or code for wx.gizmos.TreeListCtrl it derives from wx.Control, so it seems to be a a generic implementation of TreeCtrl with extra columns but doesn’t seem to inherit from wxTreeCntrl

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Created application is working toooo slow, looks like there are a lot of memory
Created a custom validation attribute and I would like to get it to work
created a collection in MongoDB consisting of 11446615 documents. Each document has the following
I created a simple, stripped ListView style that highlights an element when the IsMouseOver
I created the following simple class in my code and I get TObject is
i created an eventhandler system simplified described by following classes IEventType - containing string
I created a Role entity, I would like to do CRUD operations on it.
I created a typed data set in one project, and moved it to another.
I created an HTML file on my desktop and added some JavaScript to set
I created a document class for an empty stage and would like to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.