Tab control background color

J. Landman Gay jacque at hyperactivesw.com
Mon Sep 15 13:41:08 EDT 2014


I see.  So my original conclusion stands - -  you can't color a tab button.  :(


On September 15, 2014 11:42:01 AM CDT, Peter Haworth <pete at lcsql.com> wrote:
>Hi Jacque,
>I missed the fact that the color didn't start until under the tabs.
>
>Definitely seeing the blending though.  It's only noticeable if you
>pick a
>light color, harder to see if you use a dark color.  Try putting a
>field
>next to the tab control and setting both the backgrounds to Alice Blue,
>I
>think you'll see what I mean.
>
>Maybe "blending" isn't the right word.  What I mean is that the chosen
>color appears darker than it should, presumably because it's somehow
>mixed
>in with the the normal grey background of the tab.
>
>Pete
>lcSQL Software <http://www.lcsql.com>
>Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>
>On Sun, Sep 14, 2014 at 10:05 PM, J. Landman Gay
><jacque at hyperactivesw.com>
>wrote:
>
>> On 9/13/2014, 1:15 PM, Peter Haworth wrote:
>>
>>> It seems that if you set the background color of a tab control, it
>is
>>> somehow blended with the standard grey background (this is on OSX).
>>>
>>> Is there a way round this without having to design my own tab
>control?
>>>
>>
>> I'm not seeing any blending, but the fill color doesn't start until
>just
>> under the tabs. That is, the whole rectangle isn't filled, only the
>lower
>> part.
>>
>> I don't think there's a way around that. It used to be that the whole
>> thing was filled right to the corners, which weren't rounded, so the
>fill
>> color made little corners above the round-rect borders at the top
>right and
>> top left of the button. I guess the fix was to fill only the area
>below the
>> tabs. I hadn't looked at it in a long time, ever since I decided that
>you
>> couldn't sucessfully color tab buttons.
>>
>> --
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list