I want to change the font size for a larger, but I can't change the line height, so that letters like g p q are "under cropped"
I haven't found solutions, seems than nobody has changed the labels line height on "tab set control" ¿?
I tried
"row_padding": [8, 3], // increase second value e.g. [8, 6]
"indent": 12,
and
"line_padding_bottom": 3,
"line_padding_top": 3
without success
Thanks
This is a known bug, with currently no workarounds (as at build 3126): https://github.com/SublimeTextIssues/Core/issues/694
EDIT: this has been fixed in build 3127.
Related
I have customized my scroll bar by referencing one answer from stackoverflow.
This is my Material-Theme-Darker.sublime-theme file
[
// More visible scrollbar
{
"class": "puck_control",
"layer0.texture": "User/theme_override/scroll_puck.png",
// Optional: set to your desired RGB color
"layer0.tint": [141, 234, 255],
"layer0.opacity": 1.0,
"layer1.opacity": 0.0,
"layer0.inner_margin": 2,
},
{
"class": "puck_control",
"attributes": ["horizontal"],
"layer0.texture": "User/theme_override/scroll_puck_horiz.png",
}
]
But the scroll bar is quite bold and I want it to be short in width so can anyone tell me how can I achieve it?
In order to make the scrollbar narrower, you need to edit User/theme_override/scroll_puck.png and scroll_puck_horiz.png so that it is narrower. Then, set "content_margin" to something like this:
"content_margin": [8, 12],
and play around with the first number until you get a width you like.
I'm trying to set new formatting for me. Because of this problem.
Before auto format.
After auto format.
I checked Idea Settings. But seems there are not too many settings for Dart. I have removed all the setting with line merging. But above issue still exist. For example. This setting, which should work, but it doesn't.
Any suggestion?
End each line you don't want to be affected by formatting with "//":
[1, 2, 3]
.map((a) => 0) //
.map((a) => 1); //
var x = [
0, 1, 2, //
3, 4, 5 //
];
I have this problem too
My solution is "Select the range I want to auto format and click Ctrl+Alt+L"...
I have given up auto format all...
Due to a crash with Gulp, I could not debug what's happening behind. So I installed gulp-debug. I think it's throwing some lines of errors but with unreadable condition in my Windows system due to the output color. Is it possible to change this output color?
Update
#pgreen2, Thanks for your reply.
gulp --no-color
allows complete no-color and so that I cannot distinguish between input and output. So is there any other way to change the particular blue color itself?
I searched across all the folders and noticed that it was hard coded. Developers have clearly stated like this as well
// Don't use 'blue' not visible on cmd.exe
So I replaced to some hexadecimal color in float.patch under core-util-is with in the array of colors.
-inspect.colors = {
- 'bold' : [1, 22],
- 'italic' : [3, 23],
- 'underline' : [4, 24],
- 'inverse' : [7, 27],
- 'white' : [37, 39],
- 'grey' : [90, 39],
- 'black' : [30, 39],
- '#FFF8DC' : [34, 39], // Blue got changed here
- 'cyan' : [36, 39],
- 'green' : [32, 39],
- 'magenta' : [35, 39],
- 'red' : [31, 39],
- 'yellow' : [33, 39]
-};
and in one more core-util-is. But still it's taking blue color itself. Also there is one more entry in readme.md script. Are they traversing that page as well? Please correct me if am doing anything wrong.
And is gulp-debug a good debug tool?
I haven't used gulp-debug, so I can't comment on the usefulness of it. After looking at the source code (https://github.com/sindresorhus/gulp-debug/blob/master/index.js), the output colors are hard coded. However, you can disable all colors for gulp, using --no-color.
Example:
gulp --no-color
Late to the party, but if you use an alternative console like Console2 you can remap output colours as you see fit :)
I have a wxWidget Application. I need to make certain changes to the layout of the application. One of them being adding horizontal lines between vertically stacked slider.
Here is the code I am using:
m_BrightContLine =new wxStaticLine(this,wxID_ANY,wxPoint(-10,10),wxSize(250,1),wxLI_HORIZONTAL,wxStaticLineNameStr);
gridSizer->Add(m_DummyText[16], 0, wxALL);
m_BCLineSizer = new wxBoxSizer(wxHORIZONTAL);
m_BCLineSizer->Add(m_BrightContLine, 1, wxALL|wxALIGN_LEFT|wxEXPAND);
gridSizer->Add(m_BCLineSizer, 0, wxALL|wxEXPAND);
the problem is that the static line expands both in length and in thickness.
How do I make sure that it expands only horizontally(in length).
Take out the wxEXPAND flag.
m_BCLineSizer->Add(m_BrightContLine, 1, wxALL|wxALIGN_LEFT);
If that doesn't work, try the wwxSHAPED flag
m_BCLineSizer->Add(m_BrightContLine, 1, wxALL|wxALIGN_LEFT|wxSHAPED);
I'd like to have a manipulate control, something like
{{wAB, 1, "AB"}, 0, 1, Appearance -> "Labeled"},
but would like the A and the B to be different colors, say, Red and Blue.
I can change the overall color with Style["AB",Red], but haven't been able to get the A and the B in different colors. Any help would be appreciated!
you mean like this?
Manipulate[
wAB,
{{wAB,1,Row[{Style["A", Red], Style["B", Blue]}]},0,1,Appearance->"Labeled"}
]
and if you prefer to define the decoration part separately (which can be useful for larger and more complicated controls) and reference it in controls later on (like declaring a variable, sort of, but it is a macro actually) and reuse it for different controls, then you can use With, like this
Manipulate[wAB,
Evaluate#With[
{myStyle = Row[{Style["A", Red], Style["B", Blue]}]},
{{wAB, 1, myStyle}, 0, 1, Appearance -> "Labeled"}
]
]
Although it is safer to do styling with Style you can actually color the characters of the string directly using the Format menu or keyboard shortcuts, and Mathematica will preserve it in the dynamic control:
If vertical position is x, you must print one letter on x, then count width (w) and print next letter with another color on the new position x+=w.