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

Is it possible to change combobox size? #1

Open
only-su opened this issue Jul 1, 2019 · 2 comments
Open

Is it possible to change combobox size? #1

only-su opened this issue Jul 1, 2019 · 2 comments

Comments

@only-su
Copy link

only-su commented Jul 1, 2019

I loved the theme but dropbox size is to big in my screen and it gets in front of the buttons on the bottom. Everything was too big to be honest but i resized them, I just want to know if the combobox have the size or length and height or other.

Thanks in advance!

@only-su
Copy link
Author

only-su commented Jul 1, 2019

a way of making it invisible would also be a solution

@Rokin05
Copy link
Owner

Rokin05 commented Mar 6, 2020

With very very much delay, my apologies ..
It is possible to deactivate the combobox menu by editing the Main.qml file :

Line 71 :

visible: true
to
visible: false

Line 80 :

visible: true
to
visible: false

result :

    // Session and Keyboard buttons.
    RowLayout {
        id: combobox
        z: 2
        parent: free
        height: 30
        spacing: 4
        anchors.margins: 4
        LayoutMirroring.enabled: isMirror
        SessionButton {
            id: sessionButton
            Layout.fillWidth: false
            Layout.preferredWidth: 160
            Layout.fillHeight: false
            Layout.preferredHeight: 28
            Layout.rightMargin: 4
            visible: false
        }
        KeyboardButton {
            id: keyboardButton
            Layout.fillWidth: false
            Layout.preferredWidth: 140
            Layout.fillHeight: false
            Layout.preferredHeight: 28
            Layout.rightMargin: 4
            visible: false
        }
    }

Another way for keep conbobox in low resolution is to go up the ~32 pixel buttons upwards by editing the Main.qml file:

Line 88 :

anchors.margins: 0
to
anchors.margins: 32

result :

    RowLayout {
    id: actionButton
    parent: free
    anchors.margins: 32
    spacing: 32
   ...

marginx32

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