Search the Community
Showing results for tags 'font'.
Styling on the web is really messy, and takes a lot of effort to get it right. As a matter of personal interest, I'm collecting as many 'design rules' underpinning good styling as I can. Like : In the typography area, I came across this site. It uses machine learning to identify font-families which work well together. It uses Google fonts as its domain, and outputs a header, sub-header and text font (similar to h1, h2 and p) I really like its recommendations (usually using the 'similar' setting)
rocedure TForm1.InitializeForm; begin inherited; // this is a good place to initialize components W3ListBox1.Add('One'); W3ListBox1.Add('Two'); W3ListBox1.Add('Three'); W3ListBox1.Font.Name:= 'sans-serif'; //does not work W3ListBox1.Font.Size:= 8; //does not work //how do you center text? W3ListBox1.Font.Weight:= 'Bold'; W3ListBox1.Font.Color:= clRed; W3ListBox1.Styles.HighlightedColor:= clCyan; W3ListBox1.Styles.SelectedColor:= clYellow; end;