Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-11

Form Width bigger than 4096 pixels?

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Fabio Luis Girardi

Hi!

Currently I'm developing a application to control a process and the width of one form can't be increased to more than 4096 pixels.

My environment is: Lazarus 1.7, FPC 3.1.1 over Linux Mint 17.3 amd64, with Sparta and Anchordocking packages installed.

Why this limit?
Is it some specification?
Can this limit to be increased?

The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161130/a99cc965/attachment.html>

Reply by email

Graeme Geldenhuys
to Fabio Luis Girardi
Fabio Luis Girardi wrote
Why this limit? Is it some specification?

Windowing environments tend to have a 32k or 64k window pixel limit (eg: X11 and GDI). So the 4k limit seems to be something introduced by LCL. Unfortunately I can't answer why they introduced a 4k limit though.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Fabio Luis Girardi
to Graeme Geldenhuys

2016-11-30 16:35 GMT-02:00 Graeme Geldenhuys via Lazarus <

Show quoted text 8 lines
: Windowing environments tend to have a 32k or 64k window pixel limit (eg: X11 and GDI). So the 4k limit seems to be something introduced by LCL. Unfortunately I can't answer why they introduced a 4k limit though.

I found it. This limit is hardcoded into the sparta, not in LCL.

The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161130/45c4caf2/attachment.html>

Reply by email

Alexey
to Graeme Geldenhuys: Windowing environments tend to have a 32k or 64k window pixel limit (eg: X11 and GDI). So…

Mac has high X resolution, so please, dev's,
make thus limit more than 4K. See

* iMac (Retina 5K, 27-inch, Late 2014) and later displays have a 5120-by-2880 native resolution with support for millions of colors.
* iMac (Retina 4K, 21.5-inch, Late 2015) displays have a 4096-by-2304 native resolution with support for millions of colors.

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161202/0ebc2950/attachment.html>

Reply by email