Opened 5 years ago

Closed 5 years ago

#11456 closed enhancement (fixed)

layout sample enhancement

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

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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by jatupper

comment:1 Changed 5 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.

comment:2 Changed 5 years ago by VZ

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

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

Closes #11456.

Note: See TracTickets for help on using tickets.