Slider appearance on Macs in a cross platform GUI
1 回表示 (過去 30 日間)
古いコメントを表示
UICONTROLs appear very differently on PCs and Macs. In particular, sliders have a much larger vertical extend on Macs. Thus, GUIs that I create (in a space-efficient way) on a PC will look horrible on a Mac and closely spaced sliders will overlap and hide each other.
Is there a way to adjust the appearance of the sliders (and possibly other uicontrols) on a Mac?
Or any other ideas to (automatically) adjust the GUI appearance on the OS?
0 件のコメント
回答 (1 件)
Michelle Hirsch
2011 年 1 月 25 日
This page gives a whole range of tips for making GUIs that look good on multiple operating systems:
It suggests using characters units for your uicontrols, as long as your GUI is non-resizable. If it is resizable, it recommends using normalized units.
2 件のコメント
Walter Roberson
2011 年 1 月 25 日
Stephan, are both the height and width of the Position properties being ignored on the Mac? If you get() the Position after you set it, is it the same as what you set? If you set() the size equal to the height and width from the Extent property (and add a slight margin) does it look reasonable for each individual slider, or is Extent disconnected from reality?
I think I would
get(0,'Default')
to see if I could see some default setting that differed on the Mac. I would also cross-check that the same font and font size was being used on both.
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!