Git Product home page Git Product logo

Comments (5)

billyquith avatar billyquith commented on August 17, 2024

I can't figure out how to make the corners rounded

The tooltip is drawn using this code: https://github.com/billyquith/GWork/blob/gwork/source/gwork/source/ToolTip.cpp#L40

You could try changing the skin? I'd like to add more flexibility to the control rendering at some point; make it more data driven and allow multiple skins, but that's tricky at the moment.

from gwork.

billyquith avatar billyquith commented on August 17, 2024

nice to have a max length limit on the TextBox

This could be done by limiting the entry (TextBox), or the holder (Text). Perhaps limiting the entry is better as this allows input control and leaves the UI without limitations otherwise.
https://github.com/billyquith/GWork/blob/gwork/source/gwork/source/Controls/Text.cpp#L64

If you'd like to have a discussion I'd suggest starting another issue, solely about this issue. The problem is these discussions arent threaded and get very confused with multiple topics.

from gwork.

billyquith avatar billyquith commented on August 17, 2024

using Allegro5 and the numpad enter key isn't currently considered an enter key by GWork

I can't think of a reason not to do this.

from gwork.

billyquith avatar billyquith commented on August 17, 2024

As there are multiple changes here: PRs are best done a separate branches. I.e. clone gwork branch. Branch to "feature-al5key" (or whatever name), make the change, commit and push to your GH repo, then create PR. Repeat for each change. If you don't do this and just change your mainline all the changes get merged together. - GitHub workflow

from gwork.

okonk avatar okonk commented on August 17, 2024

Thanks. I'll have to dig into the code for the tooltips sometime later, for now my control is working fine, just would have been nice to have.

Created PR #49 for enter key.
Created new issue #50 for textbox discussion.

from gwork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.