Borrar filtros
Borrar filtros

Why is the beginning of the string in an editable text field not visible when the string is long in MATLAB 7.0 (R14)?

1 visualización (últimos 30 días)
In MATLAB 7.0 (R14), if I create an editable text field uicontrol and assign a long string to the "String" property, the uicontrol displays the string with the end of the string visible but not the beginning. I would like the string to be displayed such that the beginning is visible. The following code illustrates this issue:
uicontrol('Style','edit','String','jbvdkdnvkdhldndkhlfhmfj')
Setting the "HorizontalAlignment" property to "left" or "right" does not solve the issue.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
In MATLAB 7.0 (R14), MATLAB uses Java for creating figure windows. The observed behavior is due to the way Java displays the text.
If you are using a version of MATLAB prior to MATLAB 7.3 (R2006b), you may work around this issue by turning java figures off using the following command. Please note that this workaround will not be valid after MATLAB 7.3 (R2006b) as this feature will not be available:
feature('javafigures',0);

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by