- Posts: 20
- Thank you received: 1
resizing virtual keyboard
3 years 5 months ago #271092
by pistrix
resizing virtual keyboard was created by pistrix
Does anyone knows how to resize the virtual keyboard (onboard) in Gmoccapy? I have a 16:9 touchscreen screen with the Gmoccapy running in full screen. The virtual keyboard gets unusably large and I can't find a way to make it smaller.
Please Log in or Create an account to join the conversation.
3 years 5 months ago #271095
by HansU
Replied by HansU on topic resizing virtual keyboard
If you are using LinuxCNC 2.9 / Gmoccapy >= 3.4.0 it is right here:
[ linuxcnc.org/docs/2.9/html/gui/gmoccapy.html#_appearance ]
If not, you have to edit the gmoccapy.glade file in /usr/share/gmoccapy
[ linuxcnc.org/docs/2.9/html/gui/gmoccapy.html#_appearance ]
If not, you have to edit the gmoccapy.glade file in /usr/share/gmoccapy
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
3 years 5 months ago #271117
by pistrix
Replied by pistrix on topic resizing virtual keyboard
Thank you. I am still on 2.8.4 so no option to change the height in GUI and I am way too inexperienced to edit the glade file. If I knew what exactly to do, I would try but I couldn't find any examples to follow.
btw, the parameter Height, does it also change the width of the keyboard because it is the width that makes the keyboard awkward to use.
btw, the parameter Height, does it also change the width of the keyboard because it is the width that makes the keyboard awkward to use.
Please Log in or Create an account to join the conversation.
3 years 5 months ago #271120
by HansU
Replied by HansU on topic resizing virtual keyboard
The width of the keyboard will expanded to the window width. But a good hint, I will try to add a setting for that to 2.9 as well.
Fir the height you can search the glade file for:
<object class="GtkNotebook" id="ntb_info">
and add a line like this below:
<property name="height-request">200</property>
Not tested, but it's may worth a try.
Fir the height you can search the glade file for:
<object class="GtkNotebook" id="ntb_info">
and add a line like this below:
<property name="height-request">200</property>
Not tested, but it's may worth a try.
Please Log in or Create an account to join the conversation.
3 years 5 months ago #271170
by HansU
Replied by HansU on topic resizing virtual keyboard
Please Log in or Create an account to join the conversation.
3 years 5 months ago #271205
by HansU
Replied by HansU on topic resizing virtual keyboard
Is the height ok or should that also be reduced? Even with 2.9 it's only possible to increase the height currently.I have a 16:9 touchscreen screen with the Gmoccapy running in full screen. The virtual keyboard gets unusably large and I can't find a way to make it smaller.
Please Log in or Create an account to join the conversation.
Time to create page: 0.262 seconds