One item went to second line - wordpress

enter image description here
In menu when I added Contact Item .. it went to second line
Does anyone had the same problem?

There might not be enough space for all the menu items. You can fix this by:
1. reduce the gap
2. reduce the font size
3. Increase the space for menu

Related

Scroll further down in Jupyter without having to add empty cells?

I find myself having the last cell at the bottom of my screen when I'm in the last cell, but typically I want to have it in the middle or at the top.. So my current workaround is to just make a bunch of empty cells underneath so I can scroll further down.
Is there a setting that I can use to fix this issue properly? It's been driving me crazy lately. Thanks in advance!

How to hide clr-dg-placeholder

I have a datagrid that always show the clr-dg-placeholder even if I did not ask for it.
Is there a way to avoid having it displayed? Right now, if my grid has only one line, I can see a second one that corresponds to the clr-dg-placeholder item.
Thanks

Weird whitespace or gap between section tabs titles in Foundation 4

I am using Foundation 4.0.8, and there is a whitespace or gap between section tabs titles. It only happens when I first load the page, and it goes away when the window is resized. I found that the issue is with incorrect calculation of size of the first title tab. It adds style="left: Npx" to the second title tab, and N is larger than the size of the first title tab.
Has anyone noticed this? How can I go about mitigating this issue?
Thanks in advance!

how to prevent last item in floating items to displace the next row?

We are involved in a website that requires items to be floated , all items are good but when adding (advertising items) an error occurs .
The advertising items appears randomly , some times the adv. item becomes in the end of a row
this causes displacement to the next row
Any help ?
You can define float property to this ".compact-site-container{ float:left;}"
If its not working then provide these details - in which resolution and which browser you're getting that problem

Qt: huge scrollable sub-menu loses items

Updated to add:
I have fixed this, after a fashion. First, I tried calling MySubmenu -> clear() and rebuilding the sub-menu whenever the parent menu was clicked. Surprisingly, this didn't work. So I brought in the big guns: delete MySubmenu followed by MySubmenu = new QMenu (MyMainWindow) and rebuilding the sub-menu. It works now, without much noticeable delay. So I'm happy, I suppose.
Original question:
I have a sub-menu with about 1000 items in it (it's a list of C functions in a debugger). By default, Qt displays the sub-menu in columns, but this sub-menu is too big to fit on the screen, and I have no way to access the items that don't fit.
So I made the sub-menu scrollable, using a style sheet:
MySubmenu -> setStyleSheet ("* { menu-scrollable: 1 }") ;
It looks like this:
Note the scroll buttons at the top and bottom. But now if I select an item (PopRecordLength in this example), then the next time I open the sub-menu, all items above PD_DecryptCommand have disappeared:
The scroll button at the top has disappeared (the little line you can see is an underscore from what used to be the previous item.) And if I scroll down to the bottom, there is a large empty space. The total size of the sub-menu hasn't changed, but the items above PD_DecryptCommand have disappeared off the top, and I can't access them with mouse or keyboard.
However...I have just discovered, in the process of preparing this post, that if I click on this large empty space, the sub-menu disappears, but the next time I open it, it has been restored to its original state. So there is a work-around. But it's not very friendly.
Is this a bug in Qt? Or am I not setting the style sheet correctly?
Probably, since you have so many items that the menu takes the whole screen height, when you select an item its height increases a bit and the scroll button on top gets out of view.
I would try to connect the triggered signal of the menu with the update slot in order to get the menu repainted every time an action has been triggered
connect(MySubmenu , SIGNAL(triggered(QAction*), MySubmenu , SLOT(update()));
You could also try changing the max-height of your menu (max-height stylesheet property).
I'm sorry, not really an answer to your question, but do you really think it's a good idea to put 1000 items into a menu? The usability of this is just terrible. You should find a better way to present so many actions to the user, such as alphabetical submenus ("p" -> "PopRecordLength", "PopShort" ... ). This would also solve your problem with the menu.

Resources