1]設置IconCls屬性,這種方法不需添加ImageList,簡單方便,推薦使用
2]如嫌方法1的圖標樣式太少,可載入本地圖標,雙擊UniNativeImageList控件,推薦使用
設置uniButton的Images屬性和ImageIndex屬性即可。
3]雙擊UniNativeImageList,載入網絡字體圖標,需聯網,不穩定,不推薦使用。
雙擊右邊的ServerModule
.bntAdd { border-radius:0px; border: none; background:#4ca54c !important; }
回到界面,在uniButton的LayoutConfig的Cls設為上面的bntAdd
總是說我字少總是說我字少總是說我字少總是說我字少總是說我字少總是說我字少總是說我字少總是說我字少