如何去除抽屉内容中的这个灰色条?
我的模板是:
<StackLayout horizzontalAlign="left" tkDrawerContent class="sideStackLayout" height="100%">
<Label [text]="'Hello world'" textWrap="true" class="drawerContentText"></Label>
</StackLayout>
<ScrollView tkMainContent>
<StackLayout #container >
<Image src="res://logo" stretch="none" horizontalAlignment="center"></Image>
<TextField #email keyboardType="email" [(ngModel)]="user.login"
autocorrect="false" autocapitalizationType="none"></TextField>
<TextField #password secure="true" [(ngModel)]="user.password"></TextField>
<Button [text]="'Sign-in'" class="submit-button" ></Button>
<Button [text]="'Demo'" class="demo-button" ></Button>
<Button text="OPEN DRAWER" (tap)=openDrawer()></Button>
</StackLayout>
</ScrollView>
最佳答案
嗯,这不是很清楚,但经过一些实验后,我找到了一个解决方案 - 将 margin="0"
添加到 tkDrawerContent
。像这样:
<StackLayout horizzontalAlign="left" tkDrawerContent class="sideStackLayout" height="100%" margin="0">
关于css - Telerik UI 侧边抽屉 : how to remove gray bar from drawer-content,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40864452/