Code Monkey home page Code Monkey logo

cgui's People

Contributors

evilc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

chaidy

cgui's Issues

Optimize _GetClientSize

Currently, checks sizes of all children each time, even if they have not changed?
Set change flag to accelerate?

Merge elements of AdjustToChild and AdjustToParent

Only one lot of code is needed to calculate scrollbar size given a parent size and a child size...

_ScrollBarClientSized = Normal resize routine - Just adjust the scrollbars.
This performs scrollbar calc

_ScrollBarGuiSized= If scrollbar(s) all the way at the end and you size up, child needs to be scrolled in the direction of the size up.
This also performs scrollbar size calc

work out if they need to be separate, and if not, merge.

CGui v2.ahk dependencies not compatible with v2

As above; CGui v2.ahk depends on _Struct.ahk and sizeof.ahk, but the versions of those scripts which it links to are not compatible with AutoHotkey v2. I suppose it should link to the ahkv2 branch rather than the master branch.

Percent positioning changes when scrollbars appear

If adding items to a vertical list with w50%, as the first item to overflow the viewport is added, scrollbars appear and the available size changes.

Is this possibly a result of checking the wrong value - if detected size without scrollbars at that point, would work same?

Order of Gui, Show in __New is critical for percent positioned items

For percent-positioned items, show needs to be at start, and absolute sizes of parents set(or they already know their size when the child is added), else items cannot work out a percentage of an unknown value.

Possibly merge New and Show into one item? Possible to merge items for show into new and have new call show automatically?

Would need to be able to remove keys from the options object before serialization.

Sizing down Gui does not add scrollbars

If you size down the Gui so the parent's PageRECT does not encompass the child's WindowRECT, scrollbars do not appear.

Grabbing the Child and moving it slightly will cause the scrollbars to appear.

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.