Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CEGUI grid list functions #1032

Open
Lord-Henry opened this issue Jul 29, 2019 · 0 comments
Open

New CEGUI grid list functions #1032

Lord-Henry opened this issue Jul 29, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Lord-Henry
Copy link
Contributor

Lord-Henry commented Jul 29, 2019

Details
My suggestion is to add 2 new functions related to grid list columns. They are:

  1. guiGridListSetColumnNonSortable - This function can be integrated with GuiGridListSetSortingEnabled, adding an optional columnID parameter. If this parameter is not specified (default value is 0), all columns are affected. If specified, the function will only affect the respective column with this ID.

  2. guiGridListSetColumnsFixedWidth - This function makes all columns have fixed width, so the player can't change their width using mouse cursor. Would be very useful if there's also an optional columnID parameter.
    (these function names may change)

Additional context
Currently, the useful function guiGridListSetColumnNonSortable may bug if the player change the column width with mouse cursor. Because the "locked click area" has a fixed size and position, based on the column original width.
The inbuilt functions must work in another way to prevent those bugs.

@Lord-Henry Lord-Henry added the enhancement New feature or request label Jul 29, 2019
@qaisjp qaisjp added this to the Backlog milestone Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants