Sign in Join

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

Mailing lists / lazarus / 2012-10

Constraints on resizing.

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Torsten Bonde Christiansen

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.

Kind regards,
Torsten Bonde Christiansen.

Reply by email

Torsten Bonde Christiansen
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 13 lines
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. Kind regards, Torsten Bonde Christiansen.

Sorry forgot to mention i'm using trunk rev 39158.

-Torsten.

Reply by email

Mattias Gaertner
to Torsten Bonde Christiansen: Hi List. There seem to be a constraint using Gtk2 (not checked with other widgetsets)…

Torsten Bonde Christiansen hat am 24. Oktober 2012 um 14:52 geschrieben:

Show quoted text 9 lines
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

Reply by email