1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-01-21 05:31:13 +00:00
Andy McFadden 5a400ab738 Change highlight region
The ListView style was using "Stretch" for TextBoxes in the code list,
which caused the background of the entire address / label / operand
field to be drawn in the highlight color, rather than just the area
covered by the text.  This is fine for address and label, but it just
felt weird for the operand field because that tends to be very wide
(to accommodate strings, bulk hex data, etc).

There doesn't seem to be a way to specify HorizontalContentAlignment
per-column in WPF.  (Note this is different from HorizontalAlignment,
which *is* is a per-column property.)

This changes the style to use HorizontalContentAlignment=Left, so
the highlight just covers the text.  The only time this causes a
functional change is when you highlight an operand for a line that
doesn't have a label, because instead of highlighting an empty
rectangle you now see nothing at all.  (The address field is still
highlighted though.)
2021-11-17 11:40:36 -08:00
..
2021-10-23 21:35:30 -07:00
2021-11-14 09:21:15 -08:00
2021-10-16 09:15:28 -07:00
2021-11-14 08:24:55 -08:00
2021-10-23 21:35:30 -07:00
2021-11-04 15:11:59 -07:00
2021-10-20 09:06:53 -07:00
2021-11-17 11:40:36 -08:00
2021-09-30 21:11:26 -07:00
2021-11-14 09:24:40 -08:00
2021-10-04 20:41:19 -07:00
2021-09-30 21:11:26 -07:00
2021-10-23 21:35:30 -07:00
2021-11-17 11:18:23 -08:00
2021-10-07 12:39:30 -07:00
2021-10-17 18:02:29 -07:00
2021-11-17 11:18:23 -08:00
2021-09-30 21:11:26 -07:00
2021-10-07 12:39:30 -07:00
2021-09-27 18:13:06 -07:00
2021-10-07 12:39:30 -07:00
2021-10-04 20:41:19 -07:00
2021-09-26 17:17:54 -07:00
2021-11-02 08:54:07 -07:00