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.
  2 件のコメント
Stephen23
Stephen23 2018 年 9 月 5 日
Daniel Fonsêca's "Answer" moved here:
I tried use the resize off, but it didn't work.
Dennis
Dennis 2018 年 9 月 5 日
Show what you tried.
f=figure;
f.Resize='off';

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop 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