[Lazarus] Does using GtkFrame in LCL make sense?
zeljko
zeljko at holobit.net
Fri Jul 1 16:35:02 CEST 2011
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);
> > gtk_frame_set_shadow_type(PGtkFrame(Frame),
> >
> > BorderStyleShadowMap[TCustomControl(AWinControl).BorderStyle]);
>
> gtk_container_set_border_width(PGtkContainer(Frame), 0) here seems to
> make it better.
Thanks Henry, I haven't time to search if border can be setted up under gtk,
but this can help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110701/58d8527b/attachment-0003.html>
More information about the Lazarus
mailing list