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

Panel only works on the left? #11

Open
dan-klasson opened this issue Jun 22, 2015 · 3 comments
Open

Panel only works on the left? #11

dan-klasson opened this issue Jun 22, 2015 · 3 comments

Comments

@dan-klasson
Copy link

It doesn't seem like it's possible to choose where the panel is displayed. Am I wrong?

@sajadbanooie
Copy link

I want the panel from open from write too

@sajadbanooie
Copy link

i wonder what navigationdrawer_gradient_rtol.png is for?

@Ronald-Saunfe
Copy link

I am currently not so good in making widgets, but while passing through the code i saw there was a possibility of doing that You can archive that by changing the navigation drawer code in the .kv language part

line 161
for the first BoxLayout

BoxLayout:
        id: sidepanel
        y: root.y
        x: root.x - \
           (1-root._anim_progress)* \
           root.side_panel_init_offset*root.side_panel_width
        height: root.height
        width: root.side_panel_width

and line 183

BoxLayout:
        id: mainpanel
        x: root.x + \
           root._anim_progress * \
           root.side_panel_width * \
           root.main_panel_final_offset
        y: root.y
        size: root.size

change this code with your dimensions using if and else

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

3 participants