Need help can't find anything
-
I'm using QML for desktop but I welcome widgets as I can easily translate them to QML, here is my problem:
I am making an integrated browser and it would appear there is no widget/component available that fits the bill for a simple URL bar.
I have used textEdit, but when it "scrolls" it overlaps everything else. wrapping does not work. I tried using a scroll bar (horizontal) and that worked nicely, but it has a giant scroll bar I can't get rid of.
I looked all over the documentation, all over youtube, nothing.
there is a lot of videos showing QtWebEngine browsers, but literally all of them do not use a proper URL. (Apparently no one knows how to make one)
I tried looking at textEdit guides and login guides, nothing.All i am trying to do is create a bar like the URL bar at the top of your browser.
one that I can use arrow keys to scroll left or right.
I was considering changing the style of the scrollview scrollbar to be very small to add a bit of function and solve my problem at the same time, but I'll see if anyone that has made one before knows how to solve this problem. -
-
update: I used the flickable method but find that it feels a little "jank"
if I select all from the start of the https: it will act as normal, but when I click the righthand portion of the flickable, it auto sends the flickable back to the start (zero)
which is not like a regular search bar.I set it to horizontal flick only and it's doable, but not ideal. sometimes when selecting I accidentally grab the flickable box and move the text, even though it's almost not there (child to a rectangle, so the text takes up most of the space).
There has got to be a better way to do this, even if it involves using other modules?