objective c - What Cocoa Views and Controls Will Create Something like Part of the Network Prefs Display (Mac OS)? -


i'm building osx app , want create set of controls similar what's found @ bottom of standard network preferences configuration panel. i'm running layout problems wouldn't have expected.

enter image description here

these specific questions:

  1. what contains 3 buttons there's similar shading way across row buttons positioned? in particular, what's causing area without buttons have shading?
  2. how do without getting double border row of buttons meets table?

i want xib file. may incredibly simple, i'm missing guess.

i find if make button style "gradient" , type "momentary change", looks other buttons not respond clicks, can use area after last button. (the nsmomentarychangebutton documented changing image , title when clicked, if don't use image or title, nothing should change.)

if check refuses first responder in attributes inspector, not possible highlight blank button using full keyboard access.

ken thomases brings issue of blank button being shown button accessibility. 1 can fix using subclass of nsbuttoncell has 1 method:

- (bool)accessibilityisignored {     return yes; } 

i think that's easier writing custom view.

as d00dle says, avoid double borders overlapping things.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -