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

Could it be made possible to adjust width in smaller increments? #253

Open
Mastiffen opened this issue Dec 23, 2023 · 8 comments
Open

Could it be made possible to adjust width in smaller increments? #253

Mastiffen opened this issue Dec 23, 2023 · 8 comments
Assignees

Comments

@Mastiffen
Copy link

I have a phone at the front of the boat, where I set and pull my crawfish and lobster pots. That way I can see depth and some other good to have info without going to the plotter in the steering house. The problem I have is that I would like some info to be two in one line in portrait mode on the phone. But I can't split them down the middel, on the IP67 Sony phone I use there I can only have 1/3 of the width or 2/3 of the width, and that means that one of the panels are cut off. Is it possible to have smaller increments in the adjustment for that? Or is there a setting that isn't documented in the manual about resizing?

@cmotelet cmotelet self-assigned this Dec 23, 2023
@cmotelet
Copy link
Member

The number of possible columns and their pixel sizes are automatically calculated according to screen size. There's no way to configure it manually.
Can you send me a screenshot and the pixel size of your screen ?

@Mastiffen
Copy link
Author

Mastiffen commented Dec 24, 2023

Thank you for the quick answer! It's a Sony Xperia 10 II, which has a 21:9 screen, maybe that's the problem? 1080x2520 pixels. As you can see the water temp is almost unreadable, and the front voltage is taking 2/3, while the rerr voltage has to settle for 1/3. I have sized info after importance, so depth (1.07 at the dock) and speed in knots (null since it's moored) are the two biggest ones. I can't fire up the engine from the cabin yet (it's coming...), which is why the propulsion fields are not filled in.
Skjermskudd Sony

@Mastiffen
Copy link
Author

This may be a moot point for me soon. I am just waiting for the new Oneplus 12, then I will move my current main phone, Huawei P30 Pro, to display use in the boat. I assume the different display size will not have the same problem as the Sony.

@Mastiffen
Copy link
Author

I found out that I have the same problem on the Huawei, and I also found the reason for the problem: The width is not calculated correctly when the label is not shown. Totally repeatable. When the label is there, the full number is within the window, when the label is not there, the font is too big and is cut off vertically.

@cmotelet
Copy link
Member

Indeed, I've added a fixed zoom factor when the label is hidden to make the most of the space freed up. In your case, perhaps you shouldn't hide the label. I'll try to add the possibility of adjusting the zoom factor in the widget configuration.

@Mastiffen
Copy link
Author

Mastiffen commented Feb 21, 2024

Thanks, and good, I'm glad I'm not nuts and hallucinating this! How about another solution? I hide the labels because they don't tell my wife anything when she's at the helm. If i could give them actually descriptive names instead of the fixed data path, that would be even better than hiding.

@cmotelet
Copy link
Member

you can give names to paths, but this is not done in intrumentpannel but on the server itself. it's explained here:
https://github.com/SignalK/signalk-server/wiki/FAQ:-Frequently-Asked-Questions#how-to-add-missing-units-and-static-data-eg-displayname

@Mastiffen
Copy link
Author

Wow, I was looking in the plug-in settings! I tried with a couple of values now, and that worked perfectly. Thanks!

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

2 participants