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

7 views (last 30 days)
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.

Accepted Answer

Rik
Rik on 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.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!