dimensions of a uipanel seem strange

Im trying to match an image to the size of a uipanel. so for starters, I thought getting the width and height of the uipanel would be useful. surely the width and height are wrong, as its at least twice as high as it is wide??

 Réponse acceptée

Orion
Orion le 5 Nov 2014

0 votes

Hi Jason,
this is normal because your panel unit is in characters
if you switch to pixel, then your width will be smaller than the height.

2 commentaires

Jason
Jason le 5 Nov 2014
Whats the difference between pixles and points for unit?
Orion
Orion le 5 Nov 2014
pixel depends on your resolution and points is a length mesure.
see this link more detailed :

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Just for fun dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by