Borrar filtros
Borrar filtros

Change Size of GUI Radio Buttons

5 visualizaciones (últimos 30 días)
Bill
Bill el 1 de Ag. de 2011
Greetings. I'd like to know if there's a way that you can increase the size of a radiobutton. I'm not talking about the size of the radiobutton object, mind you, but the size of the actual little circle. It seems as if the button does not increase in size, regardless of the size of the radiobutton object, so I'd like to know if there is a setting I'm missing, or some line of code I can use during construction that will make the radio buttons bigger.
Thank you kindly.
Bill

Respuestas (2)

Oleg Komarov
Oleg Komarov el 1 de Ag. de 2011
Not that I know with plain matlab. A solution would be to include a javax.swing.JRadioButton and to customize the icon
Cannot help you more than that, but you can try to ask on Yair's blog

Yair Altman
Yair Altman el 7 de Ag. de 2011
You can either toy around with the Look-and-Feel (PLAF or L&F): http://UndocumentedMatlab.com/blog/modifying-matlab-look-and-feel/
Or you can customize the icon per Oleg's suggestion, after retrieving the underlying control's Java component reference handle using the findjobj utility: http://UndocumentedMatlab.com/blog/findjobj-find-underlying-java-object/

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by