Sign in to follow this  
Followers 0
Noob

ListView: I need the lines & font 3 times taller

4 posts in this topic

#1 ·  Posted (edited)

I'd like my ListView lines to be approximately 3 times their "normal" hight. Also I'd like the font inside the ListViewItems to be much larger. If the font is now # 9, I'd like it to be perhaps # 20. Is this possible? Is there an easy way (a noob can do)?

Thanks in advance.

Edited by Noob

Share this post


Link to post
Share on other sites



I'd like my ListView lines to be approximately 3 times their "normal" hight. Also I'd like the font inside the ListViewItems to be much larger. If the font is now # 9, I'd like it to be perhaps # 20. Is this possible? Is there an easy way (a noob can do)?

Thanks in advance.

How about this?

$maingui = GUICreate("test", 600, 600)
$lv = GUICtrlCreateListView("test2", 10, 10, 580, 280)
$text = GUICtrlCreateListViewItem("test3",$lv)
$label = GUICtrlCreateLabel("test4 - this text is default size",10,300,580,20)
GUICtrlSetFont($lv,20)
GUISetState()

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Thanks to both of you! For some reason I was searching for some other, more complex way of achieving it. I didn't know the increasing of the font size would automatically increase the hight of the "line". How silly of me!

Edited by Noob

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