Jump to content

How to increase ListView Header's height?


RS200Z
 Share

Recommended Posts

I have the following code which create a listview and set the header and listview items to use Arial font, size 24.

$ListView = GUICtrlCreateListView("AAAAA|BBBBB", 0, 0, 720, 406)

GUICtrlSetFont($ListView, 24, 400, 0, "Arial")

When I add items to the listview, they showed up properly in the correct font size and height. But the header of the listview seem to be fixed at a certain number of pixel / height. It doesn't adjust itself to cater for the larger font size which result in part of the header been truncated. Is there a way to fix this?

Edited by RS200Z
Link to comment
Share on other sites

I would assume that the header size is one of the user preference settings, but I'm not certain.

As I have just started embarking on AutoIt scripting, would you mind providing me with more detail instructions? sample script or which commands specifically and I can look it up in more detail.

Link to comment
Share on other sites

  • 1 month later...

As I have just started embarking on AutoIt scripting, would you mind providing me with more detail instructions? sample script or which commands specifically and I can look it up in more detail.

Anyone can shed some light on this? Please show me the way...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...