Fix OpenBuilds Control USB Port Selector Width

Problem: OpenBuilds Control usb port selector will expand and contract to the size of the currently selected item. If your controller is not on the first port listed, this can be a real bummer, especially on linux. Here’s an example.

Solution: Its a bit of a hack, but we can inject some css to fix the issue. Just add the following code to a new javascript macro and set it to run at startup.

let expandCode = `
<style>
#section-two div:nth-child(2) label {
    width: 250px;
}
</style> `;
$('head').append(expandCode);

Here’s what it should look like

You’ll have to adjust the width to suit your needs by changing the “width” value, but the results speak for themselves.

OpenBuilds Products I Use (affiliate):

OpenBuilds Control​
Workbee 1510​
BlackBox Motion Controller​
Interface CNC Touch Controller​
Router11
XYZ Touch Probe Plus

Tags:
0 Comments

Leave a reply

Your email address will not be published.

*

©2022 Thayne Co

CONTACT ME

I'm not around right now. But you can send me an email and I'll get back to you, asap.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account