[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [e4-dev] scroll bar in swt in eclipse 4
|
To get scrolling it is not correct to simply set the SWT.V_SCROLL but
you need to wrap your Composite in a ScrolledComposite!
Tom
Am 23.07.11 15:32, schrieb Ann Smith:
> No I am not trying to style the scrollbar I am styling my background to
> switch between red and blue from the tool bar.
> When I leave my composite as 'swt.none' my theming works perfectly but I
> want to be able to have a scroll bar in my application so I added my
> scrollbar by changing the swt.none to swt.V_Scroll. This displays the
> scroll bar but my background wont change when I choose red or blue they
> just remain grey?
>
> Regards,
> Ann.
>
> On Sat, Jul 23, 2011 at 2:16 PM, Tom Schindl
> <tom.schindl@xxxxxxxxxxxxxxx <mailto:tom.schindl@xxxxxxxxxxxxxxx>> wrote:
>
> I'm not sure what you are trying to style? The scrollbar itself is not
> themable.
>
> Tom
>
> Am 23.07.11 15:00, schrieb Ann Smith:
> > yes I have tried that by calling
> > 'CTabItem, ToolBar, Button, CBanner, CoolBar, ScrollBar {
> > font-size: 9;
> > background-color: red;
> > }'
> > but it does not make a difference to the background color, it
> remains grey??
> >
> > Regards,
> > Ann.
> >
> >
> > On Thu, Jul 21, 2011 at 3:10 PM, Paul Webster
> > <pwebster@xxxxxxxxxxxxxxxxxxx
> <mailto:pwebster@xxxxxxxxxxxxxxxxxxx>
> <mailto:pwebster@xxxxxxxxxxxxxxxxxxx
> <mailto:pwebster@xxxxxxxxxxxxxxxxxxx>>> wrote:
> >
> > On Thu, Jul 21, 2011 at 8:54 AM, Ann Smith
> > <annsmith.smith38@xxxxxxxxx
> <mailto:annsmith.smith38@xxxxxxxxx>
> <mailto:annsmith.smith38@xxxxxxxxx
> <mailto:annsmith.smith38@xxxxxxxxx>>> wrote:
> >
> >
> > _"css/red.css"._
> >
> >
> > CTabItem, ToolBar, Button, CBanner, CoolBar {
> > font-size: 9;
> > background-color: red;
> > }
> >
> >
> >
> > Does it help if you specify ScrollBar ?
> >
> >
> > PW
> >
> > --
> > Paul Webster
> > Hi floor. Make me a sammich! - GIR
> >
> > _______________________________________________
> > e4-dev mailing list
> > e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
> <mailto:e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>>
> > https://dev.eclipse.org/mailman/listinfo/e4-dev
> >
> >
> >
> >
> > _______________________________________________
> > e4-dev mailing list
> > e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
> > https://dev.eclipse.org/mailman/listinfo/e4-dev
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
> https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>
>
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev