aaronk Well-Known Member Licensed User Longtime User Feb 26, 2019 #1 Hi, I am adding a picker in my layout. How do I adjust the font size of the items in the picker ?
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2019 #2 B4X: Dim cs As CSBuilder Dim fnt As Font = Font.CreateNew(30) Dim Items As List Items.Initialize For i = 1 To 50 Items.Add(cs.Initialize.Font(fnt).Append("Item " & i).PopAll) Next Picker1.SetItems(0, Items) Upvote 0
B4X: Dim cs As CSBuilder Dim fnt As Font = Font.CreateNew(30) Dim Items As List Items.Initialize For i = 1 To 50 Items.Add(cs.Initialize.Font(fnt).Append("Item " & i).PopAll) Next Picker1.SetItems(0, Items)