Why don't uibuttons have 'normalized' coordinates?
    20 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Mikael Agopov
 il 30 Ago 2018
  
    
    
    
    
    Risposto: Vineeth Nair
    
 il 10 Set 2018
            The old, "Guide-type" uicontrol-buttons had the very handy 'Units','Normalized' -property, which allowed you to specify their size in normalized coordinates according to your present screen size. The new uibutton-buttons don't have this property - their size has to be given in pixels. This seems strange and inconvenient to me. Why is this so?
0 Commenti
Risposta accettata
  Vineeth Nair
    
 il 10 Set 2018
        UI buttons made using app designer , have their units set to 'Pixels' by default. And it can't be changed. You can refer to this answer, where a workaround is given using " SizeChangedFcn ".
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!