Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何动态调整 ToggleButton 的大小?
/亨里克
怎么样
切换按钮按钮 = 新切换按钮(上下文);
button.setWidth(int pixels); 和 button.setHeight(int pixels);
button.setWidth(int pixels);
button.setHeight(int pixels);