[Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
Hi, I recently created report http://bugs.freepascal.org/view.php?id=19658 This was about panels that behave a little differently to panels in Lazarus Windows and Delphi. There were no comments or feedback request there so I decided to take a look After some investigation it appeared that the

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread zeljko
On Friday 01 of July 2011 14:17:15 Max Vlasov wrote: Hi, I recently created report http://bugs.freepascal.org/view.php?id=19658 This was about panels that behave a little differently to panels in Lazarus Windows and Delphi. There were no comments or feedback request there so I decided to

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
2011/7/1 zeljko zel...@holobit.net On Friday 01 of July 2011 14:17:15 Max Vlasov wrote: Hi, I recently created report http://bugs.freepascal.org/view.php?id=19658 This was about panels that behave a little differently to panels in Lazarus Windows and Delphi. There were no

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Henry Vermaak
On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil); gtk_frame_set_shadow_type(PGtkFrame(Frame),

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Henry Vermaak
On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil); gtk_frame_set_shadow_type(PGtkFrame(Frame),

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Henry Vermaak
On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil);

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
On Fri, Jul 1, 2011 at 6:17 PM, Henry Vermaak henry.verm...@gmail.com wrote: On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread zeljko
On Friday 01 of July 2011 15:44:13 Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the TGtk2WSCustomPanel.CreateHandle { Before } Frame := gtk_frame_new(nil);

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread zeljko
On Friday 01 of July 2011 16:29:33 Max Vlasov wrote: On Fri, Jul 1, 2011 at 6:17 PM, Henry Vermaak henry.verm...@gmail.com wrote: On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up

Re: [Lazarus] Does using GtkFrame in LCL make sense?

2011-07-01 Thread Max Vlasov
On Fri, Jul 1, 2011 at 6:17 PM, Henry Vermaak henry.verm...@gmail.com wrote: On 01/07/11 15:09, Henry Vermaak wrote: On 01/07/11 14:44, Henry Vermaak wrote: On 01/07/11 13:17, Max Vlasov wrote: Trying to solve the problem, I ended up with the following replacement in the