popupmenu

How can set pop-up menu position in QML

北城以北 提交于 2021-01-03 07:10:16
问题 I want to fix the position of pop-up menu in QML. When I click on a setting button,I want the pop-up menu will display at the fixed position. I did it by a day but can't. How can I do it in QML. Also, I want to change the size of menu item(width and Height). Hope your help! 回答1: That depends on QtQuick.Controls version. In 2.0 you can define size and position(and even more - you must do) import QtQuick 2.7 import QtQuick.Controls 2.0 //import QtQuick.Controls 1.4 import QtQuick.Window 2.0

How can set pop-up menu position in QML

岁酱吖の 提交于 2021-01-03 07:08:59
问题 I want to fix the position of pop-up menu in QML. When I click on a setting button,I want the pop-up menu will display at the fixed position. I did it by a day but can't. How can I do it in QML. Also, I want to change the size of menu item(width and Height). Hope your help! 回答1: That depends on QtQuick.Controls version. In 2.0 you can define size and position(and even more - you must do) import QtQuick 2.7 import QtQuick.Controls 2.0 //import QtQuick.Controls 1.4 import QtQuick.Window 2.0

How can set pop-up menu position in QML

旧巷老猫 提交于 2021-01-03 07:08:02
问题 I want to fix the position of pop-up menu in QML. When I click on a setting button,I want the pop-up menu will display at the fixed position. I did it by a day but can't. How can I do it in QML. Also, I want to change the size of menu item(width and Height). Hope your help! 回答1: That depends on QtQuick.Controls version. In 2.0 you can define size and position(and even more - you must do) import QtQuick 2.7 import QtQuick.Controls 2.0 //import QtQuick.Controls 1.4 import QtQuick.Window 2.0

How can set pop-up menu position in QML

时光怂恿深爱的人放手 提交于 2021-01-03 07:07:49
问题 I want to fix the position of pop-up menu in QML. When I click on a setting button,I want the pop-up menu will display at the fixed position. I did it by a day but can't. How can I do it in QML. Also, I want to change the size of menu item(width and Height). Hope your help! 回答1: That depends on QtQuick.Controls version. In 2.0 you can define size and position(and even more - you must do) import QtQuick 2.7 import QtQuick.Controls 2.0 //import QtQuick.Controls 1.4 import QtQuick.Window 2.0

How can set pop-up menu position in QML

僤鯓⒐⒋嵵緔 提交于 2021-01-03 07:07:25
问题 I want to fix the position of pop-up menu in QML. When I click on a setting button,I want the pop-up menu will display at the fixed position. I did it by a day but can't. How can I do it in QML. Also, I want to change the size of menu item(width and Height). Hope your help! 回答1: That depends on QtQuick.Controls version. In 2.0 you can define size and position(and even more - you must do) import QtQuick 2.7 import QtQuick.Controls 2.0 //import QtQuick.Controls 1.4 import QtQuick.Window 2.0

How can set pop-up menu position in QML

南笙酒味 提交于 2021-01-03 07:07:23
问题 I want to fix the position of pop-up menu in QML. When I click on a setting button,I want the pop-up menu will display at the fixed position. I did it by a day but can't. How can I do it in QML. Also, I want to change the size of menu item(width and Height). Hope your help! 回答1: That depends on QtQuick.Controls version. In 2.0 you can define size and position(and even more - you must do) import QtQuick 2.7 import QtQuick.Controls 2.0 //import QtQuick.Controls 1.4 import QtQuick.Window 2.0