I'm using the AvalonEdit control to show data where each line is its own entity, and the lines often wrap. Wrapping allows me to show all the data on the screen at a time, but it can be confusing for users to differentiate between lines and wrapped lines.
Does anyone know if any of the following are possible (ordered by my preference)?
Give the lines a larger seperator size than wrapped lines.
Color the separator space between lines, but not between wrapped lines.
Alternate background colors per line.
Thanks for your help.
Related
In my Juptyter notebook I have many horizontal rules (generated in markdown cells) to break up the blocks of code, to create the horizontal rule I am using 3 underscores "___". For some reason, which I cannot figure out, the line sometimes appears as dark grey and sometimes as light grey.
In the screenshots below you can see the same "___" produces two differently colour lines.
Does anyone know the reason? Ideally i'd like them all to be the darker grey
It appears that the horizontal line color flip-flops each time you use it.
So the first line will be black, the second line will be gray, the third line will be black, etc.
Since I am using the horizontal line as a separator, I put the horizontal line before and after each section.
In Xamarin.Forms the TailTruncation mode for labels works fine for single lines of text.
We can also force the TailTruncation to happen at the 2nd or 3rd or Nth line, if we know in advance the lenght of the text, using a custom renderer like this one: Depechie MultilineLabel .
But what I really need is a TailTruncation that works even when I don't know in advance how many lines of text will fit in a label.
If the height of my Label changes, and so the number of lines of text that can fit in it, I want the TailTruncation happens at the end of the available space. Not at the line before and neither at the line after.
How can I get TailTruncation happens when the text meets the limit of the available word wrap space inside the Label bounds?
Is there a custom renderer trick that allows to calculate the number of lines that fit inside the bounds and set the TailTruncation line number accordingly (on both iOS and Android)?
Thanks in advance.
When I read table in R, I get this table. You can see that, there is a huge gap between Scored and Annotation text.
How I remove the white blank between them?
Or how I cut the huge string? More be precise: How can I fix table size (and it will be cut automatically).
When i print the table in shiny UI it's seem like this:
Your annotation text is right aligned. Make it left aligned or have your
Annotation comes in the first column and the for a better look.
I am customizing the javafx charts a bit adding valuelabels etc above bars and sliding out certain parts of piecharts. The problem is some of the extras come outside of the visual area.
Is there a simple way to get piecharts to become smaller (but the chart component itself retain its size so that there is more empty space surround the pie?
The same issue with barcharts. I need more empty space above my vertical bars, and more empty space to the right of my horizontal bars.
All data in the table has Number(mostly BigDeicmal) for its value and String for its key and series.
I have an NSTableView with 4 columns. I also have a custom background color for each row. The only problem is I have these ugly white spaces where the gridlines would go in both the horizontal and vertical axis. I have both unchecked in IB, but they still show up. How can I get rid of the vertical ones and change the color and size of the horizontal ones?
Here's what I see:
alt text http://img815.imageshack.us/img815/9030/homex.png
To get rid of vertical spaces but keep the horizontal ones:
[yourTableView setIntercellSpacing:NSMakeSize(0.0, 2.0)];
See Apple documentation for more details.
You'll need to override drawClipInRect to draw your own grid. The article I linked to modifies it so it only draws vertical gridlines. You'll have to modify it to only draw horizontal ones instead, but the basic strategy is the same: By overriding it, you can make it not draw vertical lines by simply not including the code for it.