Hello! I would like to know how can i disable the button maximize from figure window

6 visualizaciones (últimos 30 días)
I'm trying build a window which show a table 'ev'. But, that table is so little If I maximize the window, the table will be in the corn of the window and a large part will be empty.
I have the following programm:
function tabela(ev)
f = figure('Name','Tabela de Eventos Raros','NumberTitle','off', 'rend','painters','pos',[450 300 415 100]);
%Cria a tabela relacionando à figura f, ao tipo de dados, os dados a serem usados %e a posição dela em f
tb = uitable(f,'Data',ev,'Position',[2 20 413 60]);
%Acressenta os nomes da coluna na tabela
tb.ColumnName = {'Det 1', 'Det 2','Det 3', 'Det 4','Det 5', 'Det 6', 'Det 7','Det 8'};
%Acressenta o nome da linha na tabela
tb.RowName = {'Quantidade'};
end
thanks by the attention.

Respuesta aceptada

Rik
Rik el 30 de Ag. de 2018
You could make the position relative (i.e. change the Units to Normalized), or simply set the figure property Resize to off.

Más respuestas (0)

Categorías

Más información sobre Construct and Work with Object Arrays 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