[Cuis-dev] [IMPROV] Make #isIncludedInTaskbar a property
Gerald Klix
cuis.01 at klix.ch
Tue Aug 10 07:59:42 PDT 2021
Hi Juan,
Yep, I see your point, much simpler.
OTH I was just getting used to that feature and did not add
all pinned menus to the taskbar. I also contemplated
- about adding a taskbar button
to pinned menus, right of the their close button.
- about adding "show in taskbar" item SystemWindow's control menu.
- adding a preference for menus being included in the taskbar
Maybe I convert this change to a package.
BTW: There is another minor glitch in the Taskbar.
If you change the font size it does not adjust it's
size, it just changes the clock font.
Taskbar>>#defaultHeight depends on the window title font,
but Taskbar>>#fontPreferenceChanged sets only
the clock's font to nil.
I think this way it does it's job
(Ignoring my own rant about comments):
--- snip ---
fontPreferenceChanged
clock font: nil.
self scale: self scale
--- snap ---
Best Regards,
Gerald
On 8/10/21 3:21 PM, Juan Vuletich via Cuis-dev wrote:
> On 8/10/2021 6:43 AM, Gerald Klix via Cuis-dev wrote:
>> Hi all, Hi Juan,
>>
>>
>> Please find attached a changed set, that makes #isIncludedInTaskbar
>> a property, to get me my pinned menus back in the taskbar.
>> I hope you like it.
>>
>>
>> HTH and Best Regards,
>>
>> Gerald
>
> Hi Gerald,
>
> I understand your concern, but I'm not crazy about the implementation.
> Instead, just pushed to GitHub update #4745 to add menus to the taskbar
> the moment you pin them (or the moment they are added to the world, if
> created pinned). It is simpler, and doesn't require toggling a preference.
>
> Please check it.
>
> Thanks,
>
More information about the Cuis-dev
mailing list