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 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. > >> > >> Actually, it doesn't make a difference. The thing that fooled me is that > >> my panels on debian are bigger than yours on ubuntu. > > > > That said, changing the frame to gtk_alignment_new(0, 0, 1, 1) seems to > > work for me. What does it look like on Ubuntu? > > Henry, works correctly in Ubuntu, looks like a good candidate. At > least it hasn't bad history of the scrolling control so maybe also > fixes the same problems. But I still can not catch OnPaint from all 3 > variants (Frame, Scrolling, Alignment) bevel-less or not. So I don't > understand what was that fix (#19488) about.
don't know ... maybe ask reporter of that issue and August.
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus