Sign in to follow this  
Followers 0
RS200Z

How to increase ListView Header's height?

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
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
Sign in to follow this  
Followers 0