Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#11268 closed defect (fixed)

Fixed margin alignment problem on owner-drawn menu

Reported by: malcompl Owned by:
Priority: normal Milestone:
Component: wxMSW Version:
Keywords: wxMenu, wxOwnerDrawn Cc:
Blocked By: Blocking:
Patch: yes

Description

Fixed margin alignment problem existing after refractored wxOwnerDrawn (#10635).

Attachments (1)

menualign.patch download (12.7 KB) - added by malcompl 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by vadz

  • Status changed from new to infoneeded_new

Sorry, this doesn't apply any longer after I fully applied your patch in #11244. Do you want me to revert that one and apply this one instead or should I commit my tree (to ownerdraw-refactor branch) and let you update this patch?

Thanks!

comment:2 Changed 5 years ago by malcompl

  • Status changed from infoneeded_new to new

Ok, I can update this patch after you commit all changes associated with #11244.

Changed 5 years ago by malcompl

comment:3 Changed 5 years ago by malcompl

Patch updated ;)

comment:4 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [62213]) Fix calculation of the margins for owner-drawn menu items.

Take into account the widths of the bitmaps properly.

Closes #11268.

comment:5 Changed 4 years ago by VZ

(In [63222]) Fix calculation of the margins for owner-drawn menu items.

Take into account the widths of the bitmaps properly.

Closes #11268.

Note: See TracTickets for help on using tickets.