Ticket #11456 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

layout sample enhancement

Reported by: jatupper Owned by:
Priority: normal Milestone:
Component: samples Version:
Keywords: Cc:
Blocked By: Patch: yes
Blocking:

Description

I changed my local layout sample quite some time ago and it keeps popping up when I do an svn diff, so I thought I would submit my changes as a patch and then revert my local copy to trunk (to simplify diffing on my end).

The change simply adds a background colour to some of the cells in the "Flex Sizer Test Frame". The changed backgrounds make it a bit easier to see what is happening with the various cells. (While *wxLIGHT_GREY differs from the default frame background on my mac and windows machines here, I imagine that isn't guaranteed; perhaps the colour used should be changed.)

Attachments

LayoutSample.patch download (1.1 KB) - added by jatupper 4 years ago.

Change History

Changed 4 years ago by jatupper

Changed 4 years ago by vadz

  • status changed from new to confirmed

Unfortunately setting the background colour for wxStaticText doesn't work in all ports (notably not wxGTK), but wxGenericStaticText does, I'll modify the patch to use it.

Changed 4 years ago by VZ

  • status changed from confirmed to closed
  • resolution set to fixed

(In [62822]) Visually show the cells boundaries in layout sample grid sizer test.

Closes #11456.

Note: See TracTickets for help on using tickets.