16

Okay. Fucking QT isn't cool anymore. I want a twitter-style scrolling behavior, for obvious reasons, but there's seemingly no fucking way to do that. I have even tried positioning my items absolutely but nOOO. Shit is stupid as fuck. I just want something like a StackPanel from XAML. Stack items on top of each other, size them based on their contents or programmatically. But QT has retarded layouts.

Comments
  • 1
    Create your own and share the code?
  • 3
    That’s the reason why I prefer web technology. With HTML, CSS and JS nearly everything can be done. At work I also program on an Desktop program, but I don’t like these UI things.
    You could try Electron, a framework to use a web app like a desktop app.
  • 2
    @Sumafu with XAML you can also do anything though...
  • 1
    I'd say in general trying to port web applications to the desktop is not a good idea. There's quite a few constraints like the one you just found, web development has so many tools for displaying things that are just not doable on a desktop even when using something as robust as windows forms... Also the design principles seem to differ, like you example here... If it was me building the app I would use a left side list and a right side reading panel with stacked comments a la outlook...
  • 1
    Already heard of QStackedWidget?
  • 0
    @Sumafu What would be the use of writing an app with web technology, only to represent an existing web app? What's the difference to just using devRant in the browser?
  • 1
    @kenogo That’s the question. If I write a web app as a desktop app there is no web site app. So no doubling
  • 0
    @Krokoklemme That displays one widget at a time.
  • 0
    @AlgoRythm then the only other thing I could think of is QVBoxLayout... Otherwise I have absolutely no clue what you mean ._.
  • 0
    @Krokoklemme VBoxLayout works, I only needed to add alignment to the left and everything seemed to work fine
  • 0
    @Sumafu yea but devRant has a web app :P that was my point
  • 0
    @kenogo Web app is not very good, and since it requires a browser, is heavy in terms of system resources, and is not hackable, since it is closed source.
  • 0
    @AlgoRythm You can't hack any of the backend stuff either way. The frontend stuff is always "open source" / hackable. There are browser plugins for that. Running a seperate Electron app will eat up way more ressources than just opening the web app in your already open browser.
  • 0
    @kenogo so devRant doesn’t need a desktop app
  • 2
    @kenogo That's why I'm not using electron
  • 2
    @kenogo adding features that are missing in the web version of devrant?
  • 0
    @Codex404 Fair enough, I couldn't think of anything at first, but yep there are things you could do.
Your Job Suck?
Get a Better Job
Add Comment