i have a drop down and i wanna make it wide but the problem is the icon of drop down is not on the left, yes its in the position of left but no on the side of left is there some trick to make it to the left? thanks!
Hello
If you want to adjust the position of the dropdown arrow make the change to the right, left property of css on this class and add it to your theme or screen style sheet.
.dropdown-container:after { height: 8px; left: auto;right: 5px; top: 15px;}
I hope this will helpThanksTousif Khan
after 2 days, thanks it worked!
you can add the input with a position relative, without move positions and the icon with position absolute, so the icon will respect the parent container. After that, you can add top and right position
For example:
input {
position: relative
}
icon {
position: absolute;
top : 10px;
right: 10px;
To make the dropdown wider and ensure that the icon is properly aligned to the left in OutSystems, you can use custom CSS. Here are the steps you need to follow:
Add a Custom Class to Your Dropdown:
Add Custom CSS to Your Module:
/* Custom CSS for a wider dropdown */
.wide-dropdown select {
width: 100%; /* Adjust width as needed */
/* Ensure the dropdown container is wide enough */
.wide-dropdown {
/* Align the icon to the left */
.wide-dropdown::after {
left: 10px; /* Adjust this value to position the icon as needed */
right: auto;
Adjust the Dropdown Width:
Adjust the Icon Position:
thank you for replying sir sorry for having mixed up but i want this drop down icon to be on the right right not the middle right thanks!
Hi budang haba ,
Click here to check
Create a dropdown inside the container and assign a unique class name to the container for example ( custom-dropdown ).
Add CSS to align the dropdown icon to the left and customize the code on the right as needed
.custom-dropdown .dropdown-container:after
{ top: 15px !important;
left: auto !important;
right: 16px !important;
width: 10px !important;
refer the OML
thank you for uploading oyur oml i tried it sir but theres a split blink like error? i dont know sir
can you share your oml
i tried your oml sir but wont work for me
Hi @budang haba,
Please refer the CSS of the oml.
Hope this helps!
Thanks,
Good day there is so many screen, where can i find the drop down