Jump to content

Recommended Posts

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
Posted

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.

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

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
  • Recently Browsing   0 members

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