QtPlasmaC make the top row slightly taller?

More
23 Nov 2025 17:56 #339069 by Hakan
How can I increase the height of the top row of QtPlasmaC?

There is a bad combination of thick fingers and the touch screen and its frame that makes it quite tricky to touch the top row items.
I have a 1920x1080 monitor and have changed resolution to 1368x717 to make the items as large as possible.
Is there an easy way to make the row say 5 pixels taller? I think that would do, it's not much that's needed.

Attachments:
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Nov 2025 20:44 #339089 by tommylight
Replied by tommylight on topic QtPlasmaC make the top row slightly taller?
I have to agree, to thin even for big 24" monitors, and also add an arrow pointing down to show those are menus.
The following user(s) said Thank You: rodw

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

More
23 Nov 2025 22:37 #339096 by snowgoer540
Replied by snowgoer540 on topic QtPlasmaC make the top row slightly taller?

How can I increase the height of the top row of QtPlasmaC? 



Sure, custom stylesheets make this possible. You can change basically anything about the UI from a styling standpoint that you like.

You can create a file called qtplasmac_custom.qss in your machine config file.

Then you can add the following stanza:

#material_label,
#velocity_label,
#velocity_show,
#machine_label,
#arc_label,
#file_clear,
#file_open,
#file_reload {
min-height: 24px;
max-height: 24px;
}

Change 24px to whatever you like.

Here is the blurb from the user manual in case you find it helpful: linuxcnc.org/docs/devel/html/plasma/qtpl...#_add_a_custom_style

If you want to get a idea of what the names of the items are you could open up this file:

github.com/LinuxCNC/linuxcnc/blob/master...plasmac/qtplasmac.ui

There's also some other stuff lurking around that can be changed that you'll have to have a search on the qtvcp manuals for. The preview window mouse options, colors, etc. Most things are available at this point.

Shown at 48px for fun:

 
Attachments:
The following user(s) said Thank You: tommylight

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

More
24 Nov 2025 08:42 #339125 by Hakan
Thanks. Awesome. 6 pixels was all that was needed
 

 
Attachments:
The following user(s) said Thank You: rodw

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

Moderators: snowgoer540
Time to create page: 0.144 seconds
Powered by Kunena Forum