Can theme loading code completely remove the enter icon? If not we should
try to add a method to do so, so that we don't end up with the "OK" button
off-center.

Also, I think we should probably expose this ability to metadata-only themes

On Mon, Jul 14, 2025, 05:51 richard <[email protected]> wrote:

> I agree.  My recollection is that the interface styles are used primarily
> for changes of 'feel'  rather than of 'look': ie to alter behaviour rather
> than appearance.
>
> And yes, a theme can/should set the 'enter' image to be a completely
> transparent image if we don't want a visible icon.
>
> The awkward case would be where we want to see an enter icon on enter
> buttons in some contexts but not in others ... That sort of fine-grained
> customisation is normally achieved by a theme loading code which overrides
> specific methods.
>
>
> On 14 Jul 2025 at 12:29, Riccardo Mottola <[email protected]>
> wrote:
>
> Hi,
>
> Fred Kiefer wrote:
> >> Show "Enter" icon in default button only if NSInterfaceStyle is  
> >> NSNextStepInterfaceStyle or GSWindowMakerInterfaceStyle.
> >> That icon looks alien in other interface styles such as 
> >> NSMacintoshInterfaceStyle:
> > The code look fine for me. I just wanted to raise the issue here to see if 
> > there are any objections or improvement suggestions. Otherwise I will merge 
> > this in a few days.
>
> I don't like it as it is done. I like the concept of being able to
> customzie those buttons, however this "That icon looks alien in other
> interface styles such as NSMacintoshInterfaceStyle" is wrong in my
> opinion. It is only true in the sense that a "macinthosh" doens't use
> the enter key but has a focus ring (that is, it marks the enter button
> differently). However "NSMacintoshInterfaceStyle" refers more to the
> borad generic style: like top-menu and other details, not "clone mac".
> A bit like WindowsStyle is at the end used for GTK or could be used for QT.
>
> Just my opinion, maybe I should comment on the tread to find an
> alternative solution, like supplying a blank image or such.
>
> For certain corporate theme (more Java style) I have seen all dialogs
> redone e.g. with red X for cancel and green V for Ok. This should be
> "doable" in any interface style, Mac included.
>
> Riccardo
>
>
>

Reply via email to