How to resize column width in RStudio source pane? - rstudio

Can anyone tell me how to resize a column in the source pane of RStudio? I tried renaming the second column from "n" to "Total number" but it just wraps the header text.
Screen grab of problem
Edit: Earlier screen grab did not, in fact, show the problem. This does.

Related

How can I replace a portion of text in a picture that was inserted into a crystal-report?

I have a report containing an inserted picture.
There is a specific portion of the picture I wish to eliminate; in a sense, I want to 'erase' a portion of some text that is in the picture.
And, ultimately, I would like the option to insert a text box and do a 'custom replace' of that text within the picture.
So far, I inserted a text box with some text, but the picture shows through and I see double text.
The best option for you would be to edit the file that was originally used to insert the picture into your report. This will require some kind of editing software though. Once you have made the edits to the original picture, you may then remove the inserted picture from your report and then insert it anew using the new version of the picture.
If editing the image is not an option you could effectively cover up a portion of the picture using a Text Box object. However, by default a text box object will have no background color set, which makes it transparent. This is why you see the image behind the text box you inserted into your report. If you right click the text box and then select "Format Text" to open the Format Editor window. Then go to the "Border" tab in the Format Editor window and click the check "Background" checkbox in the Color group, then use the drop-down to select the background color for your text box object. You will likely want to use white as the background color unless your report has some other background color you need to match.

How to set margins when printing Xcode source code?

screen print
I cannot determine how to set margins when printing Xcode source. Xcode sets a good top margin but prints to the absolute bottom of the page. The printer then drops the last line when printing. One would think the presets in the Print popup would have a margin setting but I am missing it if it exists.
Any thoughts?

CKEditor Table Header lose formatting

I have a problem with CKEditor (Version 4.5.7). I have a table with formatted text in the first line (bold and centered). The problem appears when I put the cursor in the first cell and switch to the next cell with tab. The text in the next cell is then selected and that's ok. But when I start typing new text in this cell to overwrite the selected text, it loses the formatting. This happens not in every cell. This is a behaviour in Mozilla Firefox and in Internet Explorer. Chrome seems to be ok. Is this a known issue and is there a solution for this.

Microsoft Word Highlighting Text White

For some reason, whenever I create a Text Box and start typing, the background text is highlighted white and I can't make it transparent. This picture should explain everything:
I want to remove the highlighting so the gradient in the background shows through. I used to do things like this a lot, but for some reason Word won't let me now. Any suggestions?
I am on Word 2011 Mac
Got some clues here and finally found a solution for MSWord for Mac version 16.9:
Select the text you want to fix
Select "Design" Tab
Click "Page Borders"
Click the "Shading" Tab
Select Apply to "Text"
[Fill] is showing "No Color". Open the selection and re-select "No Color"
Hit "OK"
Worked for me. It is obviously a bug in Word.
Right-click the text box that you want to make invisible.
If you want to change multiple text boxes, click the first text box or shape, and then press and hold SHIFT while you click the other text boxes.
On the shortcut menu, click Format Text Box.
On the Colors and Lines tab, in the Fill section, click the arrow next to Color, and then click No Color.
On the Colors and Lines tab, in the Line section, click the arrow next to Color, and then click No Color.
Click OK. Your textbox's background is now invisible...
It seems the actual text highlight is your problem, so try:
Go into Borders and Shading, apply it to text, and set it to clear. Had me confused because I've never had to do this before.
As seen here.
I also searched around and had trouble finding this.
In Word for Mac 2011
Highlight the text
Click tables in the ribbon
Find the shading icon (looks like a paint bucket)
Click the down arrow next to the bucket and select No Fill
Change the text format from anything apart from Normal text.(important)
Solution 1
Select the Text box and go to the "format" tab,
modify the outline and fill options
if this isn't enough
Solution 2
select the Text box and right click for options
select the last option "format shape"

View is Clipping its Content error

I'm using Xcode 4.6. In a window I keep getting this "view is clipping its content" error and when I click on it, the XIB editor highlights a label. What is this error trying to tell me and how to I fix it?
First, clicking on the text "View is clipping..." will select the control that has the issue. it happens when you resize a text field too small for the inner text field cell to fit in. enlarging the control makes warning disappear. you can also select the inner cell and go to size inspector to see if there are options to make it smaller to match your desired overall size.
You have a carriage return / newline at the end of the text in your label. That empty line is part of the "content" which is larger than the "view". Get rid of your extra newline and you'll take care of this.
It's telling you that your constraints hasn't been set up correctly. You can resolve the by clicking on the view in question, then clicking on the small icon at the bottom and choose: "Reset to suggested constraints"
Or you could click on the little small orange (or red) arrow in your Document Outline (the list to the left of your view that shows all views), then click on Resolve Issue

Resources