Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QscrollArea没有效果。 #2

Open
xsjqqq123 opened this issue Nov 9, 2014 · 3 comments
Open

QscrollArea没有效果。 #2

xsjqqq123 opened this issue Nov 9, 2014 · 3 comments

Comments

@xsjqqq123
Copy link

很奇怪,有什么需要注意的吗?
如图:
http://i2.tietuku.com/b7b1caf7fb69511d.png
http://i2.tietuku.com/ffb0545882afc783.png

@dragondjf
Copy link
Owner

这个滚动条不能滚动好像与qss里滚动条样式有关系,你可以将滚动条的qss样式设置全部去掉,如果可以滚动,说明这个样式设置有问题;然后自定义你的样式。

@xsjqqq123
Copy link
Author

centerwindow设置setAlignment(leftTop)或其它种样式时,图标会挤在一块,而且说那个导航条已经有个layout了。

@xsjqqq123
Copy link
Author

FNavgationBar.cpp中的如下代码:setFixedHeight(66);,在centerWindow的setAlignment会有问题
void FNavgationBar::initUI()
{
setObjectName(QString("FNavgationBar"));
//setFixedHeight(66);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants