styles Questions

4

I used Text.rich() or RichText with font size 25. but the size of RichText is looking greater than the Text.rich() please tell me why the size is different, I specified font Size 25 for both widget...
Finnigan asked 21/12, 2021 at 10:47

6

Solved

If I have the following code: Style defaultStyle = (Style)FindResource("MyTestStyle"); Is there a way to get the name of the style (i.e. reverse-lookup)? Something like: string name = defaultSt...
Depredation asked 11/2, 2009 at 20:58

4

Solved

I read in the HTML5 specification that the generic div tag should only be used as "last resort," when a more specific element is unavailable. For example, the tags header, footer and section are pr...
Skyler asked 25/2, 2014 at 15:57

11

I've been struggling with this problem for days and can't find a solution. I've been updating my css and the changes are not reflected for a crazy reason. When I check the source, the style.css is ...
Guth asked 30/6, 2014 at 20:7

3

Solved

I'm writing a script that needs to check if certain CSS properties are defined inside the <style> tag. <style type="text/css"> #bar {width: 200px;} </style> <div id="foo" st...
Compendium asked 27/3, 2013 at 19:10

2

Does WinUI 3 support binding in a Style Setter? I've defined a Style for a NavigationView and the third line is: <Setter Property="CompactPaneLength" Value="{Binding CurrentCompac...
Denning asked 7/7, 2022 at 14:46

2

Solved

I want to write a program that copies text from a Word document and pastes it to another. I'm trying to do that using the python-docx library. I was able to do that with the following code, but it ...
Repetitious asked 19/2, 2018 at 15:36

2

I created a mui DataGrid with editable cells. When in edit mode, the input's padding is 0 16px by default as seen by this style that mui generated: .css-jqsvr8-MuiInputBase-root-MuiDataGrid-editInp...
Dumbhead asked 17/5, 2022 at 22:9

6

Solved

I want to create a simple button template with an image and text inside it. But I want to keep the System button's look and feel. How do I create it, step by step? P.S.: I have already tried it w...
Hovel asked 29/4, 2010 at 4:49

3

I have light and dark theme files and mentioned in angular.json file as below: "styles": [ "src/styles.scss", { "input": "src/styles/themes/light.theme.scss&qu...
Fennel asked 8/2, 2022 at 8:10

30

Solved

How to set TextView style (bold or italic) within Java and without using the XML layout? In other words, I need to write android:textStyle with Java.
Catercornered asked 1/6, 2011 at 11:41

6

Solved

I need to remove all the style definitions in a page using javascript, to obtain the same result as doing View > Page Style > No Style in Firefox. Which is the simplest way?
Mairamaire asked 12/2, 2012 at 21:28

6

When i go to Inspect on Google Chrome, i have the HTML and CSS sections in parallel as shown below. How can i move the CSS part to the bottom while keeping the HTML part above, as shown below?
Territorialize asked 2/1, 2022 at 8:30

12

Solved

I'm getting a view from the XML with the code below: Button view = (Button) LayoutInflater.from(this).inflate(R.layout.section_button, null); I would like to set a "style" for the button how ca...
Mysterious asked 6/1, 2010 at 21:8

2

PIC-1 this is what I've ( pic-1 ) PIC-2 this is what I need ( pic-2 ) in the pic-2 I added width: -webkit-fill-available; I got what I expect. But I don't know how it's working.
Centralia asked 6/7, 2021 at 12:22

5

Solved

When I use position relative with no content, footer goes up, with absolute with a lot of content, the footer goes down, and with fixed it is always there. Is there a easy way to get at the end of ...
Fryd asked 12/4, 2013 at 16:16

2

Solved

Is there an package, or another way to have a simple, let's say blue to blueish, radial gradient background, for one of the views? I've tried react-native-radial-gradient, but it seems like it's o...
Antineutrino asked 4/12, 2018 at 1:6

4

Solved

I am using DOMPDF (v 0.5.2) to convert an html page to a pdf file. The pdf file appears after the PHP script has run (as expected), but no styles are applied to any of the content. As far as I can...
Codification asked 2/8, 2013 at 4:8

12

Solved

How can I control the background image and colour of a body element within an iframe? Note, the embedded body element has a class, and the iframe is of a page that is part of my site. The reason ...
Railroad asked 27/6, 2011 at 14:49

2

I've created control styles I want to use among multiple xaml pages in my WPF app. To do this I created a Resources.xaml and added the styles there. Then in my pages I add this code <Grid.Res...
Citizenship asked 28/5, 2010 at 19:17

5

Solved

I have toastr success and error messages shown in my application. I changes the colors of the background and the font color. I want to change the icon colors shown in the messages. I have searched ...
Walrus asked 13/7, 2016 at 4:26

3

Solved

Is there a way to set the CSS of global classes using JavaScript or jQuery? That is, append .my_class { foo:bar } to the <style/> tag of the page?
Vidda asked 19/3, 2013 at 7:42

4

Solved

I have a Material UI TextField as an input and I need to force the entered text as uppercase. I have tried using textTransform: "uppercase" as part of the style attribute but this does no...
Purloin asked 11/1, 2021 at 22:43

3

Solved

I have a DataGridView that I use in a C# Winforms project. The grid does NOT autogenerate columns. I have manually set the column names and properties. This includes the DefaultCellStyle for the ...
Emmaline asked 21/3, 2012 at 19:36

2

Solved

I want to have something similar to CSS, where you can give the 'color' style to a div and any text within it will have it. I have multiple Text components within a View component and I would like...
Filberto asked 29/3, 2017 at 0:16

© 2022 - 2025 — McMap. All rights reserved.