Opened 5 years ago

Last modified 4 years ago

#10916 infoneeded defect

wxOSX_cocoa, 2.9-branch, toolbars sizing broken

Reported by: jensverwiebe Owned by: csomor
Priority: normal Milestone: 2.9.1
Component: wxOSX-Cocoa Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

Hi
With rev 61115 i encounterd that wxToolbars not longer respect the size ( neiter minsize...).

That worked well before. Important for the upcoming release.

BTW: to keep ways short, you can mail me directly if you want.

The app i use wx for is still luxrender ( http://www.luxrender.net )

Cheers...Jens

Attachments (1)

toolbar.png download (38.9 KB) - added by jensverwiebe 5 years ago.
before and after, TB should be 450px wide

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by jensverwiebe

before and after, TB should be 450px wide

comment:1 Changed 5 years ago by csomor

  • Owner set to csomor
  • Status changed from new to accepted

ok, I see, but before it didn't work unless you set the min size explicitly so that was worse for the normal case, could you post the snippet of your tb creation and size setting sequence ?

comment:2 Changed 5 years ago by jensverwiebe

Hi Stefan

Here is the code that worked fine before ( see also screenshot in former attachement ):

m_renderToolBar = new wxToolBar( m_renderPage, wxID_ANY, wxDefaultPosition, wxSize( 447,-1 ), wxTB_HORIZONTAL );
	m_renderToolBar->SetToolBitmapSize( wxSize( 16,16 ) );

Cheers...Jens

comment:3 Changed 4 years ago by vadz

  • Milestone changed from 2.9.0 to 2.9.1
  • Status changed from accepted to infoneeded

Is this still relevant? If yes, could you please submit a small patch to the toolbar sample showing the problem?

Thanks!

Note: See TracTickets for help on using tickets.