|
|
Formating text in a GUI listbox
Hi,
I am trying to present formatted data in a listbox I created in a GUI
(using Matlab 6.5 rel. 13 and GUIED).
suppose I want to write the following:
AA 13 0.3
BBBB 123 0.15
What ever I do (calculate the size of the spaces and insert blanks at
the right places...) I get something of the sort:
AA 13 0.3
BBBB 123 0.15
It looks as if a blank occupies much less space then a letter.
Can you help please?
Thanks,
Utzli
|
|
0
|
|
|
|
Reply
|
dont9412 (33)
|
1/29/2004 9:27:41 AM |
|
Utzli Gutzli wrote:
>
>
> Hi,
>
> I am trying to present formatted data in a listbox I created in a
> GUI
> (using Matlab 6.5 rel. 13 and GUIED).
> suppose I want to write the following:
>
> AA 13 0.3
> BBBB 123 0.15
>
> What ever I do (calculate the size of the spaces and insert blanks
> at
> the right places...) I get something of the sort:
>
> AA 13 0.3
> BBBB 123 0.15
>
> It looks as if a blank occupies much less space then a letter.
>
> Can you help please?
> Thanks,
> Utzli
You need to use a a fixed-width font, e.g. Courier or maybe better:
"properly written MATLAB application that needs to use a fixed-width
font should set FontName to FixedWidth and rely on the root
FixedWidthFontName property to be set correctly in the end user's
environment."
/per
|
|
0
|
|
|
|
Reply
|
poi3 (1062)
|
1/29/2004 11:40:01 AM
|
|
per isakson wrote:
>
> You need to use a a fixed-width font, e.g. Courier or maybe better:
>
>
> "properly written MATLAB application that needs to use a
> fixed-width
> font should set FontName to FixedWidth and rely on the root
> FixedWidthFontName property to be set correctly in the end user's
> environment."
>
> /per
Thank you very much - it solved the problem :-)
I also found that the font 'fixedsys' works as well. Both fonts have
a problem of scaling to a desired size, but they provide the
alinement.
Thanks again,
Utzli
|
|
0
|
|
|
|
Reply
|
dont9412 (33)
|
1/29/2004 11:53:43 AM
|
|
|
2 Replies
43 Views
(page loaded in 0.098 seconds)
Similiar Articles: Changing highlight color in listbox - comp.soft-sys.matlab ...I have a few list boxes in a GUI. It seems the default selection color is blue and when the list box is de-selected (clicking somewhere else), the selected text ... reading textfile and displaying its contents in listbox - comp ...reading text file and displaying its contents in list box hiii, i want to create a GUI to read text file ( example.txt) which content 1.jpg 2.j... How to initialize a listbox? - comp.soft-sys.matlabHow to Format Text in ListBox | eHow.com It is easier to make the right choice if you know all your options. HyperText Markup Language or HTML, does its part to help you ... text format during copy/paste - comp.databases.filemaker ...Using native cut copy paste in JTable - comp.lang.java.gui ... Hello everybody, I ... This means, if you format text with bold, the Normal style will also have ... gui edit - comp.soft-sys.matlab... com/blog/customizing-listbox-editbox ... soft-sys.matlab Hello all, I have a GUI with about 10 edit text ... possible to change the colors of the graphical user interface ... Set JComboBox 's JTextField into JFormattedTextField, how? - comp ...... java.awt.event.*; import javax.swing.event.EventListenerList; import java.text.Format ... How to capture input of JTextField - comp.lang.java.gui Set JComboBox 's ... HTML link or Hyperlink in a Java Panel - comp.lang.java.gui ...HTML link or Hyperlink in a Java Panel - comp.lang.java.gui ... adding hyperlinks in listbox as its ... Hyperlinks in footer - comp.text.pdf Footer with link in ODS HTML ... changing color/thickness of text - comp.soft-sys.matlab... to change the color/ thickness of text. i ... Changing highlight color in listbox - comp ... eHow.com In order to make changes to text in an existing Portable Document Format ... multiple GUI position - comp.soft-sys.matlabBreak - your free guide ..... for a graphical user interface ... ... Multiple Line Text in GUI Axes - comp.soft-sys ... GUI For DropDownList, ComboBox, and ListBox this causes the Gui ... Display result in GUI - comp.soft-sys.matlabShow results in edit text GUI - comp.soft-sys.matlab use input from GUI to run ... if I run it to appear in my GUI and not the command window. I tried using a listbox ... How to Format Text in ListBox | eHow.comIt is easier to make the right choice if you know all your options. HyperText Markup Language or HTML, does its part to help you by providing the listbox or drop-down ... text formatting inside a ListBox control (VB.NET) : The Official ...Hey guys, I need to format some text inside a listbox that I'm inserting at runtime. Essentially, I need to use functions comparable to Left(str, n), Right(n, str ... Matlab: write to listbox in GUI - programming.itags.orgprogramming.itags.org: Matlab question: write to listbox in GUI, created at:Sun ... > Id like to write some text in a listbox in a GUI. At the moment > Im > using this command: GUI Control Types - AutoHotkey - Free Mouse and Keyboard Macro ...Tn: The letter T may be used to set tab stops, which can be used to format the text ... For example, "Gui, Add, ListBox, vMyListBox t64" would double the default distance ... Using flexgrid instead of listbox to allow text formatting - VB 6 ...Using flexgrid instead of listbox to allow text formatting ... The standard list box does not allow text formatting of each line. This is a ... 6/21/2012 6:57:52 PM
|
|
|
|
|
|
|
|
|