0
我想創建一個圍繞StackLayout的邊界半徑和邊框顏色,但由於某種原因樣式沒有得到應用......我使用Nativescript核心 - 輕的主題,不知道是否可以重寫我的內聯樣式?任何想法我做錯了什麼?borderColor和borderRadius樣式不應用於StackLayout
我的代碼:
<StackLayout borderRadius="5px" borderColor="blue">
<Label class="body" [text]="'Description: ' + product.Description"></Label>
<Label class="body" [text]="'POS Description: ' + product.POSDescription"></Label>
<Label class="body" [text]="'POS price: R' + product.POSPrice"></Label>
<Label class="body" [text]="'Stock On Hand: ' + product.StockOnHand"></Label>
</StackLayout>