[Gambas-devel] BUG: Major Colour Issues
Fabien Bodard
gambas.fr at ...176...
Tue Dec 8 11:55:30 CET 2009
another thing ... you can use gb.gui to use gb.gtk or gb.gtk ...
so you will match perfectly in gnome envirronment ... but yes the
gb.gtk is not perfectly finished
2009/12/8 Fabien Bodard <gambas.fr at ...176...>:
> 2009/12/8 Kadaitcha Man <nospam.nospam.nospam at ...176...>:
>> >From the documentation:
>> Color (gb.qt)
>> This static class defines predefined color constants, properties that
>> return system colors, and some useful other methods.
>>
>> Also from the documentation:
>> Color.Background (gb.qt)
>> STATIC PROPERTY Background AS Integer
>> Returns the system default background color.
>>
>> Color.Background does not return the current system background, it
>> always returns the same constant:
>>
>> FMain.Form_Show.89: 15724527
>> ^^^^^^^^^^^^^^^^^^^
>> Background was a really ugly Belgian chocolate brown.
>>
>> FMain.Form_Show.89: 15724527
>> ^^^^^^^^^^^^^^^^^^^
>> Background was a really beautiful English countryside green.
>
>
>
>> See attached image.
>>
>> 1) is correct.
>> 2) is just plain wrong.
>> 3) is just downright unreadable.
>>
>> In all tests, gambas was restarted and the same results were obtained.
>>
>> 3) is a serious UI problem that needs to be looked at; a gambas-based
>> application is unusable for larger audiences unless they all have eyes
>> like shithouse rats and can see a solitary breadcrumb in the pitch
>> dark at 1000 paces.
>>
>> There is no way that I can find to alter that forced colour at 3) in
>> Gambas, or for any kind of disabled control that displays text.
>>
>> The same happens with button controls, too. No control I have tested
>> ever respects the system colours.
>>
>> Environment is Ubuntu 9.10, Gnome, with Qt4 installed.
>>
>> So, to summarise:
>>
>> Problem 1: Color.Background does not return the current system
>> background, it always returns the same constant.
> Ok if you read what you have write here ... you will find your error :)
>
>
> You are using Gnome with qt4 ... and gambas2 use ..... qt3 !! and yes
> the config files are not the same between qt4 and qt3... so even if
> you change the qt4 colours... the qt3 one will not change...
>
> you must to install the qt3-config package for that !..
>
>
>
>
>
>> Problem 2: Disabled text is unreadable and apparently unchangeable.
>
> try the readonly option
>
>
>
>> ------------------------------------------------------------------------------
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>>
>> _______________________________________________
>> Gambas-devel mailing list
>> Gambas-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>>
>>
>
More information about the Devel
mailing list