Labels and optimising font size

Tech-Archive recommends: Fix windows errors by optimizing your registry





--

Hi,

my application simulates a panel of scientific instruments. Digital
readouts are provided by label components embedded in a
TableLayoutPanel with the rows and columns set to percentages of size,
so the labels expane and contract when the application is resized. So
far so good. My customer wants the maximum text size possible for easy
readability, but the labels seem to require a lot of 'white space'
around any text they are given. Seems to be about 20% of height and
possibly more of width is empty space. Is there any way to reduce that
unused area?

Second problem occurs on resize of the application - is there a way to
determine the maximum size of font that will fit in the available label
size without clipping the text?

Mike B
.



Relevant Pages

  • Re: Get label caption off left edge?
    ... The right-justify would work for only one line of text, ... better way to display this that will give me more control over the text? ... but just enough to put some white space between the left label ...
    (microsoft.public.vb.general.discussion)
  • Extra lines being inserted in Access report
    ... annoying problem that I can't figure out. ... A white space is being added ... City State Zip ... a brief line of text in a label box ...
    (microsoft.public.access.reports)
  • Re: Get label caption off left edge?
    ... letter space, but just enough to put some white space between the left ... but you could place your text in a Label that has no ... Border and place that Label over top of another Label which does have a ...
    (microsoft.public.vb.general.discussion)
  • Re: how do you create file folder labels in excel?
    ... Please use this BIG WHITE SPACE to provide details of your question that won't fit in the subject line. ... Word has built-in Label printing, with many different label formats already installed. ... Excel does not have this ability. ...
    (microsoft.public.excel.newusers)
  • Re: VB6 form "zooming" resize a form and all its components
    ... >>may I ask a VB6 question: ... >You add code to the form's resize event. ... Now do I make the Label same size as the form ... large frames will have excess space in the label. ...
    (comp.lang.basic.visual.misc)