Why buttons doesn't fit to translation? [closed] - qt

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I've a size problem with translated text. If I use a translation the text not fits with the size.
Original text:
[Save icon] Save
Translated text (german):
[Save icon] Speichern
Is there any option to resize the buttons for a translation?

Simply use adjustSize(); after the ui setup.

QPushButton tries to size to its text by default, but your window is probably not wide enough. Consider reduzing fontSize or increase your application window's width.

Related

Position of icons in vertical QToolbar when switching between Qt::ToolButtonIconOnly and Qt::ToolButtonTextBesideIcon [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
When switching between Qt::ToolButtonIconOnly and Qt::ToolButtonTextBesideIcon in a vertical QToolBar, there is a slight shift of the icon to the right when expanding the toolbar:
Is it possible to get steady icons, which do not shift to the right like this?
I found a workaround with the stylesheet QToolBar QToolButton { padding-right: 3px; }.
To center the icon when the tabbar is closed, I added some spacing to the left of the icon itself.

How to make curved border of a div block? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
There is a plcture of some
landing page. As we can see a there is a curved border of header's div. How to curve it up like that in a browser?
This effect can be achieved using the "border-radius" property in CSS.
Edit -
Further to #Patrick's comment, without a link to the actual page where we can inspect the HTML directly, it's difficult to tell how this effect has been achieved. It could be as simple as a background image, or a more complicated solution using shapes like Patrick suggested.

How can I see the inside of the content box [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Hi I was wondering how can I see what is inside this box "" in the content in the style sheet
for example : I want to know the link of the image:
.facebookicon::before {
content: "";
}
Those square boxes usually mean that the Glyph that should be represented is missing from the character set of whatever program or font is being used to display the text. The only option is to attempt to open the file in another program.
Taking a rough guess it may be that the stylesheet your looking at is using a custom font and has created glyphs for various icons (this is done so that they will scale better on HiDPI screens) and assigned them to regions of the character set that is unused by normal fonts in order to avoid clashing.
In other words, It is highly unlikely there is an image.

Browser window is bigger than my html/body tag [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
http://lillangshamnens.philipnordstrom.com/
Hello!
I need help because my browser window is bigger than my html/body and because of that i get a scrollbar at the bottom.
Im using wordpress and bootstrap
That's because you have an iframe element that has a fixed width of 1280px. Try to set the max-width:100% property to it. Also the bootstrap rows have a negative margin set on them. You may also want to reset that.

Text in MS Charts gets "blocky" when BackColor is transparent [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
When settings BackColor = Color.Transparent, this is the picture I end up with from Microsofts asp.net chart control
http://login.competencetool.se/blockychart.bmp
If I don't set any background(default is white), or set a color this is the result
change the image to okchart.bmp
Does anyone know if there's any way to get the font/text to don't get messed up when using transparent background?
I wasn't allowed to link the images, so look at the adresses.
Set chart's AntiAliasing to AntiAliasingStyles.Graphics to disable the antialiasing on text.
Taken from this thread.

Resources