Dialog with notebook on Mac

Hi folks,

I've subclassed wx.Dialog and added a wx.Notebook. If the number of tabs are too many to show on Linux and Windows, a pair of scroll buttons appear. This is not the case on MacOS - the tabs get truncated on either end. Is this governed by some underlying OS limitation? I can always make the window wider, but was hoping for similar behavior across all three platforms.

Thanks,
Dan

···

--
Daniel B. Koch, Ph.D.
Oak Ridge National Lab
http://www.ornl.gov/~ko5
(865) 241-9096

That's just how the native notebook widget works. Apparently Apple's stance is that more than a few tabs is too many. You can use one of the other book classes instead, like wx.ListBook. Or one of the generic notebook classes would still be a tabbed notebook look and would give you things like tab scrolling.

···

On 6/9/10 8:28 AM, Daniel B. Koch wrote:

Hi folks,

I've subclassed wx.Dialog and added a wx.Notebook. If the number of tabs
are too many to show on Linux and Windows, a pair of scroll buttons
appear. This is not the case on MacOS - the tabs get truncated on either
end. Is this governed by some underlying OS limitation? I can always
make the window wider, but was hoping for similar behavior across all
three platforms.

--
Robin Dunn
Software Craftsman