I am running MATLAB 7.0.4 (R14SP2) on a Linux machine. I have a list box that I create by executing the following commands:
h_gui = figure;h1 = uicontrol(h_gui,'Style','listbox',... 'Units','normalized',... 'Position',[0.12 0.13 0.86 0.785],... 'FontName','FixedWidth',... 'FontUnits','normalized',... 'FontSize',0.04,... 'Max',2,... 'Tag','simulations.listbox');set(h1, 'string', ['_____5_____10_____15';' 8 30 426']);
I would like to use a fixed width font, however, the font that appears is not fixed width. When I try to manually change the font to a specific type, only certain fonts are set correctly.
Best Answer