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

7 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by