Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] How to put...
 
Notifications
Clear all

[SOLVED] How to put a button on the same line as the previous field

3 Posts
2 Users
0 Reactions
1,403 Views
Louis Heredero
(@baryhobal)
Posts: 49
Active Member
Topic starter
 
[#7347]

Hello,I've added a new quantity field for Assets that can be modified and saved. After some searching in the scripts and on the forum, I've managed to add two buttons to add or remove 1 from the field.
However, I can't seem to be able to put it on the same line as the quantity field, which is quite ugly. I've tried using the "same line" option of the screenCustomization plugin with no luck.
How can I do that, if it is possible ? I tried to look at how the button was made for tickets but it hasn't given many much information.


 
Posted : 26 Feb 2021 19H57
(@babynus)
Posts: 14952
Member Admin
 

I don't think using screen customization allows to create buttons.
What you expect is the "on same line" attribute, it must be placed on the first item, as it is "next on same line".
But to have "buttons", except for specifc items, I don't know how you managed.


 
Posted : 27 Feb 2021 19H05
Louis Heredero
(@baryhobal)
Posts: 49
Active Member
Topic starter
 

Ok I've managed to do it. My problem was that I had the field set as "_spe_minus" instead of "_button_minus"


 
Posted : 27 Feb 2021 19H55
Share:

Scroll to Top