Re: Tab groups broken?

2023-01-17 Thread Mark Smith via use-livecode
Thanks Mark,

Good to know there is a workaround. 

Mark

> On 17 Jan 2023, at 5:57 pm, Mark Wieder via use-livecode 
>  wrote:
> 
> On 1/17/23 01:40, Mark Smith via use-livecode wrote:
>> Hi Geoff,
>> The color scheme has changed. It used to be white on blue for the 
>> highlighted tab, and black on white for the others 
>> https://lessons.livecode.com/m/4071/l/7574-using-tab-buttons. I tried 
>> changing the highlight and background colors to blue using the property 
>> inspector and it changed the text color to blue but did not adjust the 
>> highlight or background. Definitely needs a bug report.
> 
> I filed a bug report on this some seven years ago when the visual aspect 
> changed. Got rejected because it was a deliberate change.
> 
> I solved my then-current problem by placing an opaque rectangle behind the 
> tab control.
> 
> https://quality.livecode.com/show_bug.cgi?id=17219
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Mark Wieder via use-livecode

On 1/17/23 01:40, Mark Smith via use-livecode wrote:

Hi Geoff,

The color scheme has changed. It used to be white on blue for the highlighted 
tab, and black on white for the others 
https://lessons.livecode.com/m/4071/l/7574-using-tab-buttons. I tried changing 
the highlight and background colors to blue using the property inspector and it 
changed the text color to blue but did not adjust the highlight or background. 
Definitely needs a bug report.


I filed a bug report on this some seven years ago when the visual aspect 
changed. Got rejected because it was a deliberate change.


I solved my then-current problem by placing an opaque rectangle behind 
the tab control.


https://quality.livecode.com/show_bug.cgi?id=17219


--
 Mark Wieder
 ahsoftw...@gmail.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Mark Smith via use-livecode
Thanks Bernd, I see what you are saying. However the transparency of the 
unhighlighted tab buttons is non-standard. They are opaque in the HIG, but 
transparent in LC 9.6.8. 

Mark

 

> On 17 Jan 2023, at 1:29 pm, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> I have to correct correct myself.
> 
> 
> https://developer.apple.com/documentation/appkit/nstabview
> 
> shows the familiar blue hilited button in the screenshot of "Date and Time" 
> in Preferences.
> 
> But if you look at a recent MacOS (12.6.2 Monterey) and go to Preferences and 
> look at "Date and Time" you see that the hilited button of tabbiew is not 
> blue anymore.
> That was what I was looking at.
> 
> Kind regards
> Bernd
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Niggemann, Bernd via use-livecode
I have to correct correct myself.


https://developer.apple.com/documentation/appkit/nstabview

shows the familiar blue hilited button in the screenshot of "Date and Time" in 
Preferences.

But if you look at a recent MacOS (12.6.2 Monterey) and go to Preferences and 
look at "Date and Time" you see that the hilited button of tabbiew is not blue 
anymore.
That was what I was looking at.

Kind regards
Bernd
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Niggemann, Bernd via use-livecode

>Mark Smith wrote:
>I wasn’t able to change the background of the highlighted tab to 
>blue as per the HIG. Were you?


Oh, I overlooked that the hilited button is supposed to be blue and that there 
seems no way to configure that for the tab group in Livecode

Kind regards
Bernd
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Mark Smith via use-livecode
Thanks Bernd, I wasn’t able to change the background of the highlighted tab to 
blue as per the HIG. Were you?

> On 17 Jan 2023, at 11:47 am, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> Hi Geoff and Mark,
> 
> The tab group seems to be in line with Apple's current Human Interface 
> Guidelines (HIG) for tabview.
> 
> https://developer.apple.com/documentation/appkit/nstabview
> 
> The tab group in the lesson Mark linked to is a prior version of the tabview.
> 
> What seems to be different from HIG is that the textColor of the selected 
> button is not set to black (to change that set the backgroundColor of the tab 
> group to black.)
> Additionally the buttons are semi transparent which seems to deviate from the 
> HIG. There they look opaque.
> 
> Kind regards
> Bernd
> 
> PS mouse messages work for me in the tab buttons which is what I would expect
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Niggemann, Bernd via use-livecode
Hi Geoff and Mark,

The tab group seems to be in line with Apple's current Human Interface 
Guidelines (HIG) for tabview.

https://developer.apple.com/documentation/appkit/nstabview

The tab group in the lesson Mark linked to is a prior version of the tabview.

What seems to be different from HIG is that the textColor of the selected 
button is not set to black (to change that set the backgroundColor of the tab 
group to black.)
Additionally the buttons are semi transparent which seems to deviate from the 
HIG. There they look opaque.

Kind regards
Bernd

PS mouse messages work for me in the tab buttons which is what I would expect
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Mark Smith via use-livecode
Hi Geoff,

The color scheme has changed. It used to be white on blue for the highlighted 
tab, and black on white for the others 
https://lessons.livecode.com/m/4071/l/7574-using-tab-buttons. I tried changing 
the highlight and background colors to blue using the property inspector and it 
changed the text color to blue but did not adjust the highlight or background. 
Definitely needs a bug report. 

Mark

> On 16 Jan 2023, at 5:49 pm, Mark Smith  wrote:
> 
> Hi Geoff, 
> 
> I tried it here and its working ok (9.6.8 on an M1 MacBook.).
> 
> Mark
> 
> 
>> On 16 Jan 2023, at 5:30 pm, Geoff Canyon via use-livecode 
>>  wrote:
>> 
>> I have LC 9.6.8 on a Mac. I drag a tab group onto a card, and it shows up
>> with the primary tab looking...disabled? And it doesn't work at all. It
>> also doesn't receive mouseUp messages?
>> 
>> So confused.
>> ___
>> use-livecode mailing list
>> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-17 Thread Mark Smith via use-livecode
I fooled around with it for a minute and the colour scheme is definitely 
changed. It used to be white text on a blue background for the highlighted 
button, black on white for the non-highlighted ones. 

> On 17 Jan 2023, at 6:34 am, Geoff Canyon  wrote:
> 
> On Mon, Jan 16, 2023 at 9:49 AM Mark Smith  > wrote:
> Hi Geoff, 
> 
> I tried it here and its working ok (9.6.8 on an M1 MacBook.).
> 
> Mark
> 
> Odd -- I quit LC, restarted it, and opened the same stack, and now the tab 
> group works.
> 
> So that's good.
> 
> But the visuals of the tab group are still weird:
> 
> 1. Tab group on a standard card with no backgroundcolor (effective 
> backgroundcolor 255,255,255) -- tab group looks fine.
> 2. Set the backgroundcolor of the card to 207,207,207, and the active tab 
> looks grey and disabled -- the text is grey.
> 3. Set the backgroundcolor of the button to 255,255,255 and the text 
> disappears -- backgroundcolor is the text color on tab controls?
> 4. Set the backgroundcolor of the button to 0,0,0 and the text looks as it 
> should -- black on a white background.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Tab groups broken?

2023-01-16 Thread Mark Smith via use-livecode
Hi Geoff, 

I tried it here and its working ok (9.6.8 on an M1 MacBook.).

Mark


> On 16 Jan 2023, at 5:30 pm, Geoff Canyon via use-livecode 
>  wrote:
> 
> I have LC 9.6.8 on a Mac. I drag a tab group onto a card, and it shows up
> with the primary tab looking...disabled? And it doesn't work at all. It
> also doesn't receive mouseUp messages?
> 
> So confused.
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode