Alignment of Text in table

24 views (last 30 days)
Victor Dalosto
Victor Dalosto on 19 Apr 2020
Commented: Walter Roberson on 17 Apr 2025
Hi, I want help in creating an app on a guide from Matlab.
I want to align the text from the 'Data' i input on a table in the center. Right now they are aligned on the right. Is there any way I can change this pattern via script or editing the information on its panel?
This is the only line calling the table:
set(handles.uitable_Bars_design, 'Data', Var_BarsDiameter);
Thanks in advanced

Answers (1)

Rahul
Rahul on 17 Apr 2025
  1 Comment
Walter Roberson
Walter Roberson on 17 Apr 2025
Note that using uistyle() requires that the uitable() is parented to a uifigure(), which would be contrary to the original question about "creating an app on a guide"

Sign in to comment.

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!