How can I make my gui larger and scrollable?
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am making a large GUI in GUIDE that will be used to control a 32-channel amplifier. I need to have 32 rows each with buttons and popup menus to set the settings.
Right now I only started with 16 rows (channels) just to map it out and get started. It currently takes up almost all the screen (vertically) and I need basically double that space with a scroll bar to see the rest of the channels. I tried the Scroll_Demo.m file and I adapted it into my code and was able to create a scroll bar that works but it won't scroll below my 16th row.
I'm not sure if I'm being perfectly clear but basically I need to double the current size of my gui (i.e make it the size of 2 screens with a scroll bar to see the bottom half).
Any ideas will be greatly appreciated.
-Ian
0 Commenti
Risposte (1)
Azzi Abdelmalek
il 1 Ago 2012
to resize your figure add this code to your figure_OutputFcn
set(hObject,'Units','pixels','Position',[30 50 1300 670])
% you can change units to inchs or caharcters ...
to use all your buttons, i advise you to create two panel with two button "left" and "right". when you click right, one panel becomes invisible and the second will be visible, and...
set(handles.panel1,'Visible','off'); set(handles.panel2,'Visible','on')
0 Commenti
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!