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

Button's width, height and background can not be set or changed #413

Open
Tumiz opened this issue Aug 2, 2017 · 1 comment
Open

Button's width, height and background can not be set or changed #413

Tumiz opened this issue Aug 2, 2017 · 1 comment
Labels

Comments

@Tumiz
Copy link

Tumiz commented Aug 2, 2017

Button's width, height or background can not be set or changed. It is always like a small button with a grey background.
Another question is how to put or post messages? Please give me some examples.

@ChALkeR ChALkeR added the bug label Aug 14, 2017
@ChALkeR
Copy link
Member

ChALkeR commented Aug 14, 2017

Button's width, height or background can not be set or changed. It is always like a small button with a grey background.

Yes, that is indeed a bug — Button is not styleable yet. That needs to be fixed.
The file in question is https://github.com/qmlweb/qmlweb/blob/master/src/modules/QtQuick.Controls/Button.js


Another question is how to put or post messages? Please give me some examples.

Please don't group several reports/questions in one issue.

PUT/POST could be achieved using XMLHttpRequest, see http://doc.qt.io/qt-5/qtqml-javascript-qmlglobalobject.html#xmlhttprequest and http://doc.qt.io/qt-5/qtqml-xmlhttprequest-methods-js.html for that.

To my knowledge, that is supported in QmlWeb, if you find problems using that — please file individual issues with code testcases to reproduce.

Note that XMLHttpRequest in QmlWeb enforces the same origin policy, unlike to Qt QML.


I am renaming this issue to track the Button properties.

@ChALkeR ChALkeR changed the title Button's width, height and background can not be set or changed. And one more question, how to put or post messages? Button's width, height and background can not be set or changed Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants