Sign in Join

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

Mailing lists / lazarus / 2010-11

Turn a TGroupBox into a TPanel

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Alexsander Rosa

The "ChildSizing" property allow several nice things with TGroupBox [1], congratulations to the team. Under GTK2, the TPanel still have some annoying bugs. If we had in TGroupBox a property "HideContourLineWhenCaptionIsEmpty" or even "HideContourLine", the TGroupBox could replace TPanel in the "poor man's layout manager" role.

[1] http://wiki.lazarus.freepascal.org/Autosize_/_Layout

Atenciosamente, Alexsander da Rosa Linux User #113925 "Extremismo na defesa da liberdade n?o ? defeito. Modera??o na busca por justi?a n?o ? virtude." -- Barry Goldwater -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101119/5606cd9d/attachment.html>

Reply by email

Alexsander Rosa
to Mattias Gaertner

Most of them are related to keyboard operation:
http://bugs.freepascal.org/view.php?id=17775
http://bugs.freepascal.org/view.php?id=17662

2010/11/19 Mattias Gaertner

Show quoted text 26 lines
On Fri, 19 Nov 2010 13:34:25 -0200 Alexsander Rosa wrote: > The "ChildSizing" property allow several nice things with TGroupBox [1], > congratulations to the team. Under GTK2, the TPanel still have some annoying > bugs. For example? > If we had in TGroupBox a property "HideContourLineWhenCaptionIsEmpty" > or even "HideContourLine", the TGroupBox could replace TPanel in the "poor > man's layout manager" role. > > [1] http://wiki.lazarus.freepascal.org/Autosize_/_Layout Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Atenciosamente, Alexsander da Rosa Linux User #113925 "Extremismo na defesa da liberdade n?o ? defeito. Modera??o na busca por justi?a n?o ? virtude." -- Barry Goldwater -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101119/c6ea1ec0/attachment.html>

Reply by email

zeljko
to Alexsander Rosa: The "ChildSizing" property allow several nice things with TGroupBox [1], congratulations…
Alexsander Rosa wrote 7 lines
The "ChildSizing" property allow several nice things with TGroupBox [1], congratulations to the team. Under GTK2, the TPanel still have some annoying bugs. If we had in TGroupBox a property "HideContourLineWhenCaptionIsEmpty" or even "HideContourLine", the TGroupBox could replace TPanel in the "poor man's layout manager" role. [1] http://wiki.lazarus.freepascal.org/Autosize_/_Layout

No, we cannot do that since there's no property in GtkFrame to do such thing. Under gtk2 TPanel is scrolling control because GtkFrame is wrong class (wrong gtk design IMO).There should be pure GtkFrame (like it is eg under qt) and GtkGroupBox (which is current GtkFrame).
Only way to fix this is to write an gtk2lcl class which should be like qt's QFrame , and of course use that class instead of scolling controls.

zeljko

Reply by email