g4klx / MMDVMHost

The host program for the MMDVM
GNU General Public License v2.0
378 stars 274 forks source link

Nextion 2.4 inch display #165

Closed n7tae closed 8 years ago

n7tae commented 8 years ago

The Date/Time font is too big (or the string is too long). The "AM" or "PM" goes to a new line below the date and there is only room to show the very top of the "AM" or "PM".

g0wfv commented 8 years ago

@phl0 are you able to tweak the HMI files?

phl0 commented 8 years ago

Jepp. What is the issue?

phl0 commented 8 years ago

Ah found it. Missed the first message in the thread. Will have a new layout in about an hour.

g0wfv commented 8 years ago

@ac2ie can you post a picture so @phl0 can see the problem - he may not have the exact screen you have, but can alter the files that control it and may be able to code it "blind" .... fingers crossed!

n7tae commented 8 years ago

I will post a picture if Florian's new layout doesn't work.

phl0 commented 8 years ago

Expect a solution in about 1 hour

phl0 commented 8 years ago

Hhmm I need a pic of a real 2.4" Nextion. The emulator says it fits:

virtualbox_windows 7 pro_29_09_2016_21_26_58

phl0 commented 8 years ago

Damn it. Forgot the seconds ...

virtualbox_windows 7 pro_29_09_2016_21_35_07

phl0 commented 8 years ago

The thing is that the text size can obviously not be reduced ... :-/

n7tae commented 8 years ago

I don't remember seeing this before. So something has changed recently.

I don't pull everyday. Maybe once/week, but when I see new Nextion 2.4 files in the pull, I load them into my display. nextion

phl0 commented 8 years ago

I found a solution. Needs a manually built font. Will have a file ready in a minute. Can you test it before I make a PR?

phl0 commented 8 years ago

Looks good:

virtualbox_windows 7 pro_29_09_2016_22_14_53

Would you be so kind as to test the new 2.4 layout from my dev branch please? You can find it here: https://github.com/phl0/MMDVMHost/tree/dev

phl0 commented 8 years ago

Just wondering if I should reduce the font size for the other two text areas as well ....

Suggestions @g4klx @g0wfv ?

n7tae commented 8 years ago

I will test it right now. My suggestion is to not reduce the other fields.

phl0 commented 8 years ago

Rgr. If that is positive I will make a PR then.

n7tae commented 8 years ago

Looks good.

new-nextion

g0wfv commented 8 years ago

If it fits as-is on the other screens, I'd be tempted to leave it. But then my OCD is saying make them all the same ............ Agggghhhhhhh :-)

On Thu, Sep 29, 2016 at 9:50 PM Tom Early notifications@github.com wrote:

Looks good.

[image: new-nextion] https://cloud.githubusercontent.com/assets/5155480/18971898/d86a5670-8664-11e6-92e2-781b8987139e.jpg

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/g4klx/MMDVMHost/issues/165#issuecomment-250587409, or mute the thread https://github.com/notifications/unsubscribe-auth/AQf_4sPsb6pxBUHMA5j4b6iDfzURvoRNks5qvCSqgaJpZM4KKQa9 .

A J Corbett

G0WFV

phl0 commented 8 years ago

Tnx fer text. I submitted PR #167 for this.

n7tae commented 8 years ago

Thanks!