Jump to content

ListView: I need the lines & font 3 times taller


Noob
 Share

Recommended Posts

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

Link to comment
Share on other sites

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