制作appbar BackHome按钮 [英] Make appbar BackHome button

查看:93
本文介绍了制作appbar BackHome按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我尝试使用appbar按钮返回主页(在详细信息页面上)

Hi I try to make appbar button for back to home (on detail page)

我将按钮添加到按钮,点击后将导航到home.html

I add listener to the button, and when clicked will navigate to home.html

nav.navigate(" /pages/home/home.html");

nav.navigate("/pages/home/home.html");

并返回主页

但问题是我在home.html上的列表视图中未显示水平滚动条

But the problem is horizontal scrollbar not shown on my list view on home.html

当我点击listview - >然后滚动条显示

When I click on listview -> then scrollbar show

如何解决这个问题,我想自动滚动条显示,不需要先点击listview

How to solve this, I want automatically scrollbar show, no need to clicked listview first

谢谢

推荐答案

一般来说,滚动条不会显示直到他们需要,主要是因为Windows 8针对触摸界面进行了优化。
Scrollbars in general don't show until they are needed, primarily due to Windows 8 being optimized for touch interfaces.


这篇关于制作appbar BackHome按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆