[Lazarus] Constraints on resizing.

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Oct 24 15:12:38 CEST 2012


Torsten Bonde Christiansen <tc at epidata.info> hat am 24. Oktober 2012 um 14:52
geschrieben:
> Hi List.
>
> There seem to be a constraint using Gtk2 (not checked with other
> widgetsets) when doing resizing. The current limit is set to 10.000
> pixels for width and height. (constrain enforced in gtk2proc.inc:6732)
>
> Is there a logical reason behind this? In my application i sometimes
> need a scrollbox which is capable of handling controls beyond 10.000
> pixiel in the height.

The 10.000 is some high number to spot endless loops and bad calculations.
It can be increased. I'm not sure, maybe there is another limit of 32767. I will
it increase it to 32000.

Mattias




More information about the Lazarus mailing list