kdgarris Member Licensed User Longtime User Jan 13, 2013 #1 Is there a good way to have monospaced text that is a consistent size relative to the size of the screen? This would be useful when making e.g. a terminal program where I might want to have the same number of rows and columns regardless of what size the screen is. Any thoughts?
Is there a good way to have monospaced text that is a consistent size relative to the size of the screen? This would be useful when making e.g. a terminal program where I might want to have the same number of rows and columns regardless of what size the screen is. Any thoughts?
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2013 #2 You will need to use Canvas.MeasureStringWidth / Height to find the font size that best matches the available screen size. Upvote 0
You will need to use Canvas.MeasureStringWidth / Height to find the font size that best matches the available screen size.