korlibs / korlibs/korge

uiScrollableArea: buttonSize is not honored by one of button dimensions

Open
#764 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

When I increase buttonSize in the uiScrollableArea from default 32 to a higher value buttons on scroll bars don't stay square as if one of their dimensions is hardcoded to 32.
![uiScrollableArea-largeButtonSize](https://user-images.githubusercontent.com/207716/99898799-51eb2600-2cb5-11eb-8c19-cedbbcde4f46.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the uiScrollableArea implementation and the buttonSize handling, then reproduce the issue with a value greater than the default 32. Done means both scroll-bar button dimensions honor buttonSize and the buttons remain square.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.