How to make uiHTML document fill up window

1 Ansicht (letzte 30 Tage)
Ephraim Bryski
Ephraim Bryski am 1 Jul. 2022
Kommentiert: Ephraim Bryski am 2 Jul. 2022
I'm using uiHTML to create an UI for my MATLAB code, but the UI only fills up a portion of the window. In the attached image, the window is full screen and the black region is the body. This doesn't happen if I run it without MATLAB. Does anyone know how to expand it to fill up the window?
  2 Kommentare
Ephraim Bryski
Ephraim Bryski am 2 Jul. 2022
My MATLAB code:
fig=uifigure;
h=uihtml(fig);
h.HTMLSource = 'G:\My Drive\GitHub\calcs\test.html';
My HTML:
<body></body>
<style>
body{
background-color: black;
}
</style>

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

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

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by