Questions tagged [thickness]

Describes the thickness of a frame around a rectangle. Four Double values describe the Left, Top, Right, and Bottom sides of the rectangle, respectively.

Thickness values can be specified in two ways. When it is passed four Double values to the structure, they represent the Left, Top, Right and Bottom sides, respectively, of the bounding rectangle. Alternatively, it can also supply a single value, which applies a uniform value to all four sides of the bounding rectangle.

72 questions
3
votes
1 answer

Draw lines using Direct2D without scaling the line thickness

I've just switched to using Direct2D on my project. I'm using C++Builder XE2 with the VCL windows platform and I am using the wrapper Direct2D that came with XE2. I'm able to draw Rectangle, Line, Ellipse and all with scale, rotation, translation.…
JP Yang
  • 31
  • 1
3
votes
1 answer

Prevent Silverlight from scaling line width

When using the ScaleTransform class, Silverlight also scale the thickness of the strokes on the shapes that I display. But what if I don't want this behaviour? Is it possible to disable the scaling of strokes, or will I have to iterate over every…
3
votes
0 answers

Why is XAML "Thickness" invalid because the expected type is "Thickness" when the actual type is indeed "Thickness"?

I had noticed that I got the red squigglies on this line of XAML: 0,20,0,10 ...but I didn't worry too much about it, as all seemed to look fine, but when running Resharper's "Issues in Solution", it…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
3
votes
1 answer

Change button border thickness in wpf?

Why the border thickness of the Button doesn't change? If I change the border thickness to 1 or 100, it doesn't matters. It's the same. I would like to change it using Style, not Custom Template.
Andrei Neculai
  • 472
  • 2
  • 5
  • 21
2
votes
5 answers

CSS for No Border Thickness

I have a table that I built out with 0px border, and I am trying to get images in each row to fit seamlessly to one another but even though the border does not show there is still a 1px gap in between the rows. Is there a way to fix this? table { …
Logan
  • 305
  • 1
  • 3
  • 6
2
votes
3 answers

Cannot use Margin "Thickness" value

Using Visual Studio C#: I am trying to dynamically add some PictureBoxes to a TableLayoutPanel called "MapGrid". As far as my Googling can tell, this: MapGrid.Controls.Add(new PictureBox() { Dock = DockStyle.Fill, …
user2989764
  • 21
  • 1
  • 2
2
votes
2 answers

number of elements surrounding an element in a matrix, matlab

I need to write a function that finds the "deepness" of a cell (row,col) in a matrix. Given any nxm matrix say mat = ones(6,6) for example.. mat = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 …
user1676521
1
vote
1 answer

How to add a Thick bottom border across multiple cells every 9th row,

I've found codes in other posts and other forums, but they don't seem to work for me. I only have a basic working knowledge of VBA I can understand what it does, but creating a complex code is harder I have a multiple worksheets A1:K## Column C has…
1
vote
0 answers

How to change border thickness in Qtablewidget via Pyqt

I want to change specifically second and third column line's thickness in my Qtablewidget. I searched all the Internet but couldn't find a way to do it via Pyqt5. It is possible to do it with C++. If you know, I would be appreciated
1
vote
1 answer

Line thickness ggplot - looks discrete

I would like to plot two lines with different thicknesses. size argument works, but only partially. library(ggplot2) forecast <- c(2,2,1,2,2,3,2,3,3,3,3) actual <- c(2,2,1,2,2,3,2,3,2,2,1) my_df <- data.frame(forecast = forecast, actual =…
user1700890
  • 7,144
  • 18
  • 87
  • 183
1
vote
0 answers

How to change border thickness in a violin plot in R?

I would like to increase border thickness of the violin plot in R. I tried to use lwd = x, but it makes it extremely thick no matter what number I replace x with. To be clear I want the border of the actual violins to be thicker. Example…
sf1
  • 25
  • 1
  • 6
1
vote
3 answers

WPF: TwoWay binding between 4 TextBoxes and 1 Border.Margin

I want to set the BorderThickness of a Border of a UserControl using 4 TextBoxes, but I can't get it to work. XAML code demonstrating the problem (only this code in combination with the converter is needed):
eriksmith200
  • 2,159
  • 5
  • 22
  • 33
1
vote
0 answers

Thickness multiple data chart doughnut

i'm trying to set the different measure for thickness in my chart in a webView for an iOS application. I wish that the data in "red" have smaller thickness than data in center. This is the code that i used with chart.js library. { var…
Alessio Campanelli
  • 970
  • 11
  • 19
1
vote
1 answer

I want change the textSize but I don't want change thickness,how can I do?

I used the textview to display the temperature, it should be like this when I change the textSize, it display like this I just want change the size of the textview, but I don't want it to be more thicker,how should I do with this problem?
Freddy
  • 764
  • 2
  • 6
  • 21
1
vote
3 answers

Changing 'thickness' of bootstrap list-group-item

I want to reduce how thick the list-group-item are, whilst keeping the title text fitting. .list-group-item { height:…
user3722194
  • 203
  • 1
  • 6
  • 13