×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Layout issue

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic Re:Layout issue

Ok, got it. The reason for all the trouble was a wrong version of libwayland-cursor0. And I didn't know apt can be forced to install a certain version of software by adding =version number

It then compiled without problems. Your suggestion works like a charm, Eric! Thank you so much!



The following user(s) said Thank You: Eric
Last edit: 5 years 8 months ago by Alfred.
5 years 8 months ago #28042
Attachments:

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

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Re:Layout issue

If you have a patch, don't hesitate to post it here for us to include it, or push a change to phabricator.kde.org.

-Eric
5 years 8 months ago #28049

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

Replied by Jasem Mutlaq on topic Re:Layout issue

Maybe a quick solution is to check if we are in HIDPI and then simply multiple the current set-in-stone widths by a constant factor like 1.5 or 2.

What width did you use Alfred?
5 years 8 months ago #28052

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic Re:Layout issue

I used

#define PROPERTY_LABEL_WIDTH 200

Is a "git commit kstars/indi/indicommon.h" all I would have to do?
5 years 8 months ago #28064

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

Replied by Jasem Mutlaq on topic Re:Layout issue

No, please test KStars Nightly later tonight. I'm trying to make it work for high DPI displays as well, let me know how it looks.
The following user(s) said Thank You: Alfred
5 years 8 months ago #28072

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic Re:Layout issue

I'm afraid it looks like it did before modifications were made. I hope I didn't make any mistake. I stashed my modification, pulled again both kstars and indi, compiled both. This is what the result looks like:

I'l be away till later tonight.
Last edit: 5 years 8 months ago by Alfred.
5 years 8 months ago #28124
Attachments:

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

Replied by Jasem Mutlaq on topic Re:Layout issue

What I did is that I added a multipler (KStars::Instance()->devicePixelRatio())

Can you check what this returns on your setup? Edit kstars.cpp, and after line #89, add this

qCInfo(KSTARS) << "Device Pixel Ratio:" << devicePixelRatio() << "Device Pixel Ratio F:" << devicePixelRatioF();

Then if you run KStars again, you should see it in the logs
5 years 8 months ago #28130

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

  • Posts: 989
  • Thank you received: 161

Replied by Alfred on topic Re:Layout issue

The log returned

Device Pixel Ratio: 1 Device Pixel Ratio F: 1
5 years 8 months ago #28158

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

Time to create page: 0.645 seconds