VERTICAL monitor

More
05 Jan 2018 11:55 - 05 Jan 2018 11:56 #104048 by Longbow
VERTICAL monitor was created by Longbow
Hi all!

I am trying to use gmoccapy in a vertical fashion.

I have an ASUS VT168N touchscreen 1368 x 768 that I rotated by 90 degrees, which gives a width of 768px.

Since the width of the gmoccapy GUI is minimum 979px, I can not get all of the GUI inside the screen.

Any suggestions?
Last edit: 05 Jan 2018 11:56 by Longbow.

Please Log in or Create an account to join the conversation.

More
05 Jan 2018 12:08 #104049 by tecno
Replied by tecno on topic VERTICAL monitor
Rotate it back 90°

Please Log in or Create an account to join the conversation.

More
05 Jan 2018 12:14 #104050 by Longbow
Replied by Longbow on topic VERTICAL monitor
haha, that would be too easy:)

Please Log in or Create an account to join the conversation.

More
05 Jan 2018 12:15 #104051 by tecno
Replied by tecno on topic VERTICAL monitor
Sorry to say but that is all you got to go the easy way.

Please Log in or Create an account to join the conversation.

More
05 Jan 2018 14:23 #104053 by Longbow
Replied by Longbow on topic VERTICAL monitor
I somehow solved this problem with editing the file gmoccapy.glide. I just resized the main window "window1" to 768 width and it now resized. I have to resize some of the buttons too, but it is usable.

So, one half (upper) of the screen is used by the gmoccapy GUI.

For the bottom half (684 x 768) I want the nativeCAM displayed.
I tried with the EMBED_TAB_COMMAND
But I have difficulty finding a container/box that is placed horizontally on the bottom of the GUI.

Can I just add(if I manage) one horizontal box in gmoccapy.glide file or is it not possible this way?

Thanks!

Please Log in or Create an account to join the conversation.

More
07 Jan 2018 11:03 #104101 by newbynobi
Replied by newbynobi on topic VERTICAL monitor
Hallo longbow,

you can use the glade editor to move or resize any widget you like. As long as you do not remove or rename any widget, gmoccapy should start. but you should look also in the code of gmoccapy.py (in usr/bin/ without the py ending, just open with gedit) in def on_window1_show to check for your default values, or you just edit the values in your preference file.

To add a new user area to introduce your custom panel on the bottom, you need to take a look at gmoccapy code in the area def set_up_user_tabs to add your new tab location.

But the easiest way is just to use the glade editor and move i.e. box_custom_4 to the location you want and use that one to add your tab. If you have already a preference file, just edit in that one the dimensions and position to start the GUI and all should be done. So there is also a way to solve your wishes without touching code.

This is gmoccapy, the GUI without limits ;-)
OK, at the moment the 5 axis limit, but 9 axis coming soon ;-)

Norbert

Please Log in or Create an account to join the conversation.

More
08 Jan 2018 07:50 #104152 by Longbow
Replied by Longbow on topic VERTICAL monitor
Hello!

I am still having problems trying to place nativeCAM on the bottom of the screen.

I tried to move the box_custom4 to a different location but it will not go on the bottom of the GUI. The glide editor is having problems to process such a big .glide file! I get freezes and lag so I can do almost nothing.

I took a look into def set_up_user_tabs. Are the locations of the tabs stored in the "tab_locations"?

I 'm using gmoccapy 2.3.3.2

Please Log in or Create an account to join the conversation.

More
16 Jan 2018 19:34 #104559 by newbynobi
Replied by newbynobi on topic VERTICAL monitor
You are using the stock glade, aren't you?

That one has a bug, I updates to 3.8.6 and the problems are gone.

Sorry, but I have no time at the moment to change the glade file according to your needs.

Norbert

Please Log in or Create an account to join the conversation.

More
17 Jan 2018 06:10 #104605 by Longbow
Replied by Longbow on topic VERTICAL monitor
Oh, thats why.

Thank you!

Please Log in or Create an account to join the conversation.

More
13 Feb 2018 13:39 - 13 Feb 2018 13:40 #105821 by ikkuh
Replied by ikkuh on topic VERTICAL monitor

Oh, thats why.


This is how it looks now on my 17" touchscreen, almost like a real machine now :)


https://ibb.co/jQ3cRS
Attachments:
Last edit: 13 Feb 2018 13:40 by ikkuh.

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.073 seconds
Powered by Kunena Forum