Noob Posted April 22, 2007 Share Posted April 22, 2007 (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 April 22, 2007 by Noob Link to comment Share on other sites More sharing options...
xcal Posted April 22, 2007 Share Posted April 22, 2007 GUICtrlSetFont($your_listview, 20) How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
SadBunny Posted April 22, 2007 Share Posted April 22, 2007 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 More sharing options...
Noob Posted April 23, 2007 Author Share Posted April 23, 2007 (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 April 23, 2007 by Noob Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now