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

10 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by