[Gambas-user] These new color constants ...
adamnt42 at ...626...
adamnt42 at ...626...
Sat Aug 15 04:16:28 CEST 2015
Hi Adrien,
Thanks for lookin\g at this. Your response solves problem #2 in that I now know what causes it and it is a local issue - I am using a modified version of gbx3 and that is definitely why the Read/Write property change fouls up. Sorry for the noise.
On the other hand - re problem 1 (no Color class override) : could you clarify that you dont get that black fill rendering when using a Color constant in the IDE. I don't believe that is related to the above but feel it may be local due to QT4 installed here, or themes, or something...
tia
bruce
On Fri, 14 Aug 2015 10:58:17 +0200
"Adrien Prokopowicz" <adrien.prokopowicz at ...626...> wrote:
> Le Fri, 14 Aug 2015 03:58:32 +0200, adamnt42 at ...626...
> <adamnt42 at ...626...> a écrit:
>
> > With these new color constant changes (rev 7189) in the IDE (pursuant to
> > Marco Ancillotti's "Adding custom colors" thread) I'm getting some
> > anomalous outcomes.
> >
> > 1) In a project without any override for the Color class the following
> > occurs:
> > If any of the old or new constants are selected (say as a background
> > color) from the dialog [selcol_dlg.png] the background is rendered in
> > the IDE with a black background [blackbg.png]. Conversely if a custom
> > color is selected from the "Free" tab it gets rendered correctly.
> >
> > 2) In a project with an override for the Color class (e.g. see
> > Color.class attached)
> > The IDE does not show any of the custom "constants" e.g. DarkBackground
> > or LightBackground in the color selector dialog [newcol_dlg.png].
> >
> > Can anyone confirm similar anomalies please.
> > b
> >
>
> I can't reproduce this on my system. Moreover, the Color class you sent
> does not work, as the properties are incorrectly overridden (they should be
> read-only like the original Color class, otherwise an error is thrown).
>
> Can you send a full project, as well as some details on your system ?
>
> --
> Adrien Prokopowicz
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
B Bruen <adamnt42 at ...3379... (sort of)>
More information about the User
mailing list