Forum > Carbon
Retina display and Carbon interface?
cobata:
Hi,
Regarding: (from here: http://forum.lazarus.freepascal.org/index.php/topic,34885.0.html)
"Another one observation with the Carbon interface is regarding the Form scrollbars:
they are always visible when AutoScroll = true. The problem is with just the horizontal scrollbar, because it cоvers the most of the bottom aligned panel and to can see 22 px in height from the panel, you have to set its total height to be 55 px - this is not the case with the vertical scrollbar and the right aligned panel where to can see 23 px in width from the panel, it is enough to set its total width to be 38 px. - they both in the case when you have an object out of the form client area."
Actually, It seems, that exists a bigger, display resolution problem with Retina display and Carbon interface. Is this solved in Lazarus releases > 1.4.4?
Best Regards
cobata:
In addition:
1.) If you have Edit: TEdit and:
Edit.Text:='0000';
//Edit.AutoSize:=false;
Edit.AutoSize:=true;
Edit.AutoSize:=false;
The TEdit control is autosized vertically (its height changes), but not horizontally (its width stays unchanged).
2.) If you have Label: TLabel and:
Label.Font.Size:=12;
This Label.Caption looks smaller than the text with the same font size (and same font at all) outside of Lazarus IDE.
AlexTP:
>The TEdit control is autosized vertically (its height changes), but not horizontally
It is normal. Edit/Combobox align only in vertical size.
What problem with Carbon+Retina? what you mean?
cobata:
Hi Alextp,
You are right, it is my mistake (regarding TEdit)..., probably because of all the test I did trying to solve the GUI proportional incompatibilities:
The software is developed on Windows with win32/64 XOR GTK2 widgetsets: here compatibility exists - they look equal.
On Mac with Retina and GTK2 widgetset the proportions are kept - they are like those on Windows with win32/64 XOR GTK2 widgetsets.
More concrete:
"Another one observation with the Carbon interface is regarding the Form scrollbars:
they are always visible when AutoScroll = true. The problem is with just the horizontal scrollbar, because it cоvers the most of the bottom aligned panel and to can see 22 px in height from the panel, you have to set its total height to be 55 px - this is not the case with the vertical scrollbar and the right aligned panel where to can see 23 px in width from the panel, it is enough to set its total width to be 38 px. - they both in the case when you have an object out of the form client area."
2.) If you have Label: TLabel and:
Label.Font.Size:=12;
This Label.Caption looks smaller than the text with the same font size (and same font at all) outside of Lazarus IDE.
3.) Some Control.Caption(s) are broken on 2 lines...
I supposed that all those incompatibilities related to the Horizontal/Vertical proportions are related to the resolution and/ or to the Retina display, and that is exactly I am asking for.
Best Regards
cobata:
It seems all observations are related to controls font size...
Navigation
[0] Message Index
[#] Next page