Rickname Posted January 12, 2014 Share Posted January 12, 2014 (edited) This have nothing to do with GUI resizing ( when to resize the GUI, to resize the listview also ), instead I want to resize the items from the listview control, to appear much larger, much thicker ( also the text within them to be larger ). Is this possible ? Edited January 12, 2014 by Rickname Link to comment Share on other sites More sharing options...
Moderators Solution Melba23 Posted January 12, 2014 Moderators Solution Share Posted January 12, 2014 (edited) Rickname,If you have a native created ListView you can use GUICtrlSetFont to change the font for the items and header. I do not know how to change the font in a UDF-created ListView - I will have a search around and see what I can find. M23Edit:I should have guessed that rover would know how to do it - run the example in this post. Edited January 12, 2014 by Melba23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
l3ill Posted January 12, 2014 Share Posted January 12, 2014 (edited) I just tested this in one of my listviews and all the items were updated: _GUICtrlListView_AddItem($sBlistView, $FileList_A[$i] & @LF) GUICtrlSetFont($sBlistView, 12, 600) Is that what you wanted? or do yow want a dynamic size change after LV is populated that works like CTRL + in a browser? Bill edit: spelling Edited January 12, 2014 by l3ill Rickname 1 My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
Rickname Posted January 12, 2014 Author Share Posted January 12, 2014 Oh Great !! The GUICtrlSetFont WORKED ! Thankyou so much ! @l3ill, yes I was thinking about that also, but I will just put a slider that will call the SetFont function everytime Ill move it 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