Units type 'characters' not suppoerted for uitable on uifigure

2 ビュー (過去 30 日間)
uido
uido 2022 年 9 月 18 日
コメント済み: dpb 2022 年 9 月 19 日
When trying to create uitable on an uifigure window (as opposed to figure window) I get an error when trying to use 'characters' as the unit type.
The Error message: Functionality not supported with figures created with the uifigure function.
I can't find any reference to this on the online documentation. I am using 2022A.

採用された回答

dpb
dpb 2022 年 9 月 18 日
編集済み: dpb 2022 年 9 月 19 日
Indeed, TMW changed the documentation to try to force the use of uifigure instead of figure it appears, and in doing so rearranged the documentation to what are the table properties available depending upon whether the uitable is a child of a figure or of a uifigure
In the documentation at least thru R2020b, there's a Note and links to two separate Table Properties depending upon which type of figure was used -- in there the only supported Units setting for a child of the uifigure is 'pixels'.
The crafter of the new documentation didn't segregate the 'Units' name,value pair out for special treatment between the two but left it in the global section implying either can use all options.
This is a bug in the documentation it appears.
  2 件のコメント
uido
uido 2022 年 9 月 18 日
Thank you for the answer.
Maybe I should write to them about it so they will know to fix it.
dpb
dpb 2022 年 9 月 19 日
I would say is worth the bug report, yes...either the doc is wrong (my conjecture) or the uitable implementation is not up to what it is documented to be, so whichever is supposed to be the correct behavior according to the (unpublished) internal TMW design documentation, there's an inconsistency.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by