File Exchange

image thumbnail

12. CENTER THE "GUI" IN THE SCREEN

version 1.0.0.0 (3.79 MB) by Diego Barragán
12. CENTER THE "GUI" IN THE SCREEN

2 Downloads

Updated 16 Jun 2008

View License

THIS VIDEO SHOW HOW TO CENTER THE "GUI" IN THE SCREEN

Cite As

Diego Barragán (2021). 12. CENTER THE "GUI" IN THE SCREEN (https://www.mathworks.com/matlabcentral/fileexchange/20297-12-center-the-gui-in-the-screen), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Shivaputra Narke

Very helpful...
Thanks

chen

nice, very helpful

Tijil Thomas

isabel Espinoza

Thanks!

Elmar Tarajan

why not so:
scrsz = get(0,'ScreenSize');
figsz = getpixelposition(hObject);
setpixelposition(hObject,[(scrsz(3:4)-[figsz(3:4)])/2 figsz(3:4)])

or much easier
movegui(hObject,'center')

B. Roossien

Nice tutorial. It is a pity that it is spoken in Spanish (?). The video itself however already speaks for itself.

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!