# Widgets

**URL:** https://forums.solar2d.com/c/solar2d/widgets/66.md

[Latest](https://forums.solar2d.com/latest.md) · [Categories](https://forums.solar2d.com/categories.md)

---

## [About the Widgets category](https://forums.solar2d.com/t/about-the-widgets-category/149020)

<div class="topic-metadata">

**Author:** [@system](https://forums.solar2d.com/u/system)\
**Replies:** 0

</div>

Discussion of the Widgets framework.

---

## [How Do You Make The Picker Wheel Return The Right Information?](https://forums.solar2d.com/t/how-do-you-make-the-picker-wheel-return-the-right-information/354883)

<div class="topic-metadata">

**Author:** [@ACG](https://forums.solar2d.com/u/ACG)\
**Replies:** 4\
**Last updated:** [May 10, 2026, 8:50pm UTC](https://forums.solar2d.com/t/how-do-you-make-the-picker-wheel-return-the-right-information/354883 "2026-05-10T20:50:28Z")

</div>

Hello, I wanted to ask how do you make the picker wheel return the right information. Whenever I use the pickerWheel:getValues() command to return the information it always returns the information of the thing whatever …

---

## [widget.newPickerWheel - issue: not snapping to a selection](https://forums.solar2d.com/t/widget-newpickerwheel-issue-not-snapping-to-a-selection/357482)

<div class="topic-metadata">

**Author:** [@Gary\_Duke](https://forums.solar2d.com/u/Gary_Duke)\
**Replies:** 0\
**Last updated:** [July 17, 2025, 8:56pm UTC](https://forums.solar2d.com/t/widget-newpickerwheel-issue-not-snapping-to-a-selection/357482 "2025-07-17T20:56:15Z")

</div>

Version 2025.3721 (2025.6.6) Using widget.newPickerWheel. Having issues with a wheel not snapping to anything… just lingering in-between two values. Doesn’t happen all the time. But often enough to be an irritant. An…

---

## [How can I edit the widget Scrollview code?](https://forums.solar2d.com/t/how-can-i-edit-the-widget-scrollview-code/357468)

<div class="topic-metadata">

**Author:** [@evanspro](https://forums.solar2d.com/u/evanspro)\
**Replies:** 3\
**Last updated:** [July 9, 2025, 10:23pm UTC](https://forums.solar2d.com/t/how-can-i-edit-the-widget-scrollview-code/357468 "2025-07-09T22:23:48Z")

</div>

I need to do some tests and maybe add some new behaviours to the scrollView. At first, I did some changes to this code: corona/platform/resources/widget.lua at master · coronalabs/corona · GitHub Not sure if it’s norma…

---

## [Widget setFillColor always black](https://forums.solar2d.com/t/widget-setfillcolor-always-black/356012)

<div class="topic-metadata">

**Author:** [@HeathJ](https://forums.solar2d.com/u/HeathJ)\
**Replies:** 4\
**Last updated:** [November 4, 2023, 6:08am UTC](https://forums.solar2d.com/t/widget-setfillcolor-always-black/356012 "2023-11-04T06:08:22Z")

</div>

I’ve created a widget button and assigned color to it as part of its creation. I have no problems setting the color during the creation. eg. local myButton = widget.newButton( { id="myBtn", label="orig…

---

## [How to make a scrolling menu](https://forums.solar2d.com/t/how-to-make-a-scrolling-menu/355980)

<div class="topic-metadata">

**Author:** [@Aronimo](https://forums.solar2d.com/u/Aronimo)\
**Replies:** 5\
**Last updated:** [September 17, 2023, 8:27pm UTC](https://forums.solar2d.com/t/how-to-make-a-scrolling-menu/355980 "2023-09-17T20:27:42Z")

</div>

Howdy! I took a look at the docs but i couldnt find a way to have a menu, or just a place in screen to put ui stuff and have them moved up and down. In short, a scrolling menu. I have the assets and graphics needed, it s…

---

## [Widget.newButton() - stroke color.](https://forums.solar2d.com/t/widget-newbutton-stroke-color/354669)

<div class="topic-metadata">

**Author:** [@FreeWan](https://forums.solar2d.com/u/FreeWan)\
**Replies:** 4\
**Last updated:** [April 9, 2022, 9:28am UTC](https://forums.solar2d.com/t/widget-newbutton-stroke-color/354669 "2022-04-09T09:28:09Z")

</div>

I am creating a button using shape construction. It has a strokeColor parameter which is a table with two parameters - “default” and “over”. In the program, I can change the “default” color with object:setStrokeColor(). …

---

## [Creating my custom widget-like group](https://forums.solar2d.com/t/creating-my-custom-widget-like-group/354170)

<div class="topic-metadata">

**Author:** [@ivec](https://forums.solar2d.com/u/ivec)\
**Replies:** 5\
**Last updated:** [November 9, 2021, 8:02am UTC](https://forums.solar2d.com/t/creating-my-custom-widget-like-group/354170 "2021-11-09T08:02:46Z")

</div>

Hi, I am considering to create a reusable custom widget for display of a value next to a symbol. Something that can be used for scores, counts of diamonds/stars/… , a time counter. Representing what this looks like in…

---

## [Issue with Widget Library on Build 2021.3647](https://forums.solar2d.com/t/issue-with-widget-library-on-build-2021-3647/353640)

<div class="topic-metadata">

**Author:** [@gsglawson](https://forums.solar2d.com/u/gsglawson)\
**Replies:** 2\
**Last updated:** [June 28, 2021, 5:55pm UTC](https://forums.solar2d.com/t/issue-with-widget-library-on-build-2021-3647/353640 "2021-06-28T17:55:02Z")

</div>

I have been testing new build 2021.3647 and seem to be having issues with the widget library on Android. On the main menu of my app, I display a standard scrollview. As soon as the scrollview is displayed, I receive this…

---

## [PSA timer.cancellAll will break your scrollingViews](https://forums.solar2d.com/t/psa-timer-cancellall-will-break-your-scrollingviews/353507)

<div class="topic-metadata">

**Author:** [@jedihenryk](https://forums.solar2d.com/u/jedihenryk)\
**Replies:** 3\
**Last updated:** [May 8, 2021, 10:58pm UTC](https://forums.solar2d.com/t/psa-timer-cancellall-will-break-your-scrollingviews/353507 "2021-05-08T22:58:16Z")

</div>

This is something I spent way too much time on debugging, so I decided to share with y’all. Using timer.cancelAll() can break your scrollView scrolling - the user won’t be able to scroll all its content. I suppose this …

---

## [Issue with scrollView component](https://forums.solar2d.com/t/issue-with-scrollview-component/353468)

<div class="topic-metadata">

**Author:** [@chrisdev](https://forums.solar2d.com/u/chrisdev)\
**Replies:** 1\
**Last updated:** [May 3, 2021, 2:47pm UTC](https://forums.solar2d.com/t/issue-with-scrollview-component/353468 "2021-05-03T14:47:52Z")

</div>

Hi, i created a simple scrollView with only one imageRect in it. When i start to dragging up or down everthing works as i expect, the content moves directly when i start my drag. But when i drag to left or right, the c…

---

## [custom scroll bar width and height](https://forums.solar2d.com/t/custom-scroll-bar-width-and-height/349800)

<div class="topic-metadata">

**Author:** [@thithous](https://forums.solar2d.com/u/thithous)\
**Replies:** 5\
**Last updated:** [March 20, 2021, 4:27am UTC](https://forums.solar2d.com/t/custom-scroll-bar-width-and-height/349800 "2021-03-20T04:27:23Z")

</div>

Hi, i looked around the foruns and havent found a way to change the scroll bar width. it is not on the tutorial given by corona. But on one of the posts Rob have given the adress to make hard coding. Looking at the cod…

---

## [Tiny scrollbar in widget.newScrollView](https://forums.solar2d.com/t/tiny-scrollbar-in-widget-newscrollview/352040)

<div class="topic-metadata">

**Author:** [@dmarques42](https://forums.solar2d.com/u/dmarques42)\
**Replies:** 10\
**Last updated:** [March 20, 2021, 2:53am UTC](https://forums.solar2d.com/t/tiny-scrollbar-in-widget-newscrollview/352040 "2021-03-20T02:53:52Z")

</div>

Sorry to duplicate – I put this in an old thread but I think no one looks at that. I have a scrollbar problem – tiny 1-2px grey line scrollbar – in build 3607, but the build does not make any difference. Putting in a cu…

---

## [Tab bar not working when adding TextField and TextBox](https://forums.solar2d.com/t/tab-bar-not-working-when-adding-textfield-and-textbox/352673)

<div class="topic-metadata">

**Author:** [@frankpujo](https://forums.solar2d.com/u/frankpujo)\
**Replies:** 3\
**Last updated:** [November 10, 2020, 8:44am UTC](https://forums.solar2d.com/t/tab-bar-not-working-when-adding-textfield-and-textbox/352673 "2020-11-10T08:44:56Z")

</div>

I’m using the template offered by the engine and it works fine as long as I don’t change anything. As soon as I add a TextField, a TextBox and a simple function with a text listener it gives me errors. I made multiple t…

---

## [Why ButtonWidget can't use transition.to()](https://forums.solar2d.com/t/why-buttonwidget-cant-use-transition-to/352649)

<div class="topic-metadata">

**Author:** [@zz2108828](https://forums.solar2d.com/u/zz2108828)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 4:52pm UTC](https://forums.solar2d.com/t/why-buttonwidget-cant-use-transition-to/352649 "2020-11-03T16:52:32Z")

</div>

:innocent: Is this a BUG ? The Button will scale until it disappear. local button1 = widget.newButton( { label = "button", emboss = false, -- Properties for a rounded rectangle button …

---

## [ScrollView + TabBar like Facebook or Clash Royale?](https://forums.solar2d.com/t/scrollview-tabbar-like-facebook-or-clash-royale/341227)

<div class="topic-metadata">

**Author:** [@Sig.g1](https://forums.solar2d.com/u/Sig.g1)\
**Replies:** 9\
**Last updated:** [September 19, 2020, 1:37am UTC](https://forums.solar2d.com/t/scrollview-tabbar-like-facebook-or-clash-royale/341227 "2020-09-19T01:37:32Z")

</div>

Hello everyone I’m having trouble creating something mixture of ScrollView and TabBar. I would like to move on TabBar like one ScrollView. And at the same time I would like movements on ScrollView they were also visible…

---

## [TableView Scrollbar not shown?](https://forums.solar2d.com/t/tableview-scrollbar-not-shown/335484)

<div class="topic-metadata">

**Author:** [@Dave\_Haynes](https://forums.solar2d.com/u/Dave_Haynes)\
**Replies:** 15\
**Last updated:** [August 7, 2020, 2:24pm UTC](https://forums.solar2d.com/t/tableview-scrollbar-not-shown/335484 "2020-08-07T14:24:21Z")

</div>

Hey, fellas. Is it just me or does the scrollbar not show up at all for a tableview widget? I only just started using it (everything else has been custom scrollViews), and there is an option: hideScrollBar which I hav…

---

## [Hyper-tap event](https://forums.solar2d.com/t/hyper-tap-event/351907)

<div class="topic-metadata">

**Author:** [@Andrey5045](https://forums.solar2d.com/u/Andrey5045)\
**Replies:** 2\
**Last updated:** [July 25, 2020, 2:09pm UTC](https://forums.solar2d.com/t/hyper-tap-event/351907 "2020-07-25T14:09:25Z")

</div>

It took me a few days to understand what was going on… :rofl: In my project I use ScrollView filled-in with paragraphs and titles of text returned as database search results. Both the title & paragraph have an invisibl…

---

## [ScrollView gets funny](https://forums.solar2d.com/t/scrollview-gets-funny/351885)

<div class="topic-metadata">

**Author:** [@Andrey5045](https://forums.solar2d.com/u/Andrey5045)\
**Replies:** 5\
**Last updated:** [July 24, 2020, 12:02am UTC](https://forums.solar2d.com/t/scrollview-gets-funny/351885 "2020-07-24T00:02:16Z")

</div>

Any idea how to prevent this type of error? 2020.3601 These paths do not exist on my computer… I also even cannot define which of my scenes causes the error, the one the user leaves or just enters… Both the scenes use…

---

## [Circle widget.newButton](https://forums.solar2d.com/t/circle-widget-newbutton/351847)

<div class="topic-metadata">

**Author:** [@pokeman](https://forums.solar2d.com/u/pokeman)\
**Replies:** 1\
**Last updated:** [July 13, 2020, 6:19pm UTC](https://forums.solar2d.com/t/circle-widget-newbutton/351847 "2020-07-13T18:19:27Z")

</div>

Hi. When i create widget.newButton with png image (a circle) the button reacts in the alpha area. Is it normal behavior? How can i get rounded button which should not be touchable at the edges?

---

## [native.newTextField remains on scene](https://forums.solar2d.com/t/native-newtextfield-remains-on-scene/351784)

<div class="topic-metadata">

**Author:** [@ldurniat](https://forums.solar2d.com/u/ldurniat)\
**Replies:** 4\
**Last updated:** [July 3, 2020, 6:09pm UTC](https://forums.solar2d.com/t/native-newtextfield-remains-on-scene/351784 "2020-07-03T18:09:23Z")

</div>

Hi, After I go back to list\_categories.lua scene from add\_or\_edit\_category.lua scene native.newTextField remains on scene with list of categories. What is proper way remove/hide text field object from scene? I use bac…

---

## [tableView params{} arrive void at onRowRender](https://forums.solar2d.com/t/tableview-params-arrive-void-at-onrowrender/350895)

<div class="topic-metadata">

**Author:** [@renato.rolando](https://forums.solar2d.com/u/renato.rolando)\
**Replies:** 4\
**Last updated:** [April 28, 2020, 9:01pm UTC](https://forums.solar2d.com/t/tableview-params-arrive-void-at-onrowrender/350895 "2020-04-28T21:01:14Z")

</div>

I don’t understand why the params{} data arrive void at onRowRender. ... function scene:create( event ) btnGroup = display.newGroup() tbV = widget.newTableView( { left = 10, top = 300, height = 180, width = 300, onRowRe…

---

## [Create Widgets using SVG](https://forums.solar2d.com/t/create-widgets-using-svg/150902)

<div class="topic-metadata">

**Author:** [@Justus07](https://forums.solar2d.com/u/Justus07)\
**Replies:** 0\
**Last updated:** [January 8, 2020, 5:15am UTC](https://forums.solar2d.com/t/create-widgets-using-svg/150902 "2020-01-08T05:15:40Z")

</div>

I’m using the Nano SVG plugin to produce a texture from SVG files for my app’s images. However, this doesn’t seem to work when it comes to widgets, only for display images. Is there a way to make it possible to create w…

---

## [How to implement the appearance effect for a button?](https://forums.solar2d.com/t/how-to-implement-the-appearance-effect-for-a-button/150898)

<div class="topic-metadata">

**Author:** [@peterbayrosh](https://forums.solar2d.com/u/peterbayrosh)\
**Replies:** 4\
**Last updated:** [January 7, 2020, 3:38pm UTC](https://forums.solar2d.com/t/how-to-implement-the-appearance-effect-for-a-button/150898 "2020-01-07T15:38:48Z")

</div>

Hello! My name is Petyr. I cannot realize the effects of a button appearance. I would like the button (“tap to continue…”) to appear slowly with the “fade” effect. The button is on the modal scene and not belongs to the…

---

## [image switch](https://forums.solar2d.com/t/image-switch/150834)

<div class="topic-metadata">

**Author:** [@peterbayrosh](https://forums.solar2d.com/u/peterbayrosh)\
**Replies:** 0\
**Last updated:** [December 26, 2019, 9:38pm UTC](https://forums.solar2d.com/t/image-switch/150834 "2019-12-26T21:38:55Z")

</div>

Hi to all. Сould you tell us how to move the level selection(pictures) using the ‘’ « ‘’, ‘’ » ‘’ buttons? For examples: « level1 LEVEL2 level3 », and if i click on “»”, then « level2 LEVEL3 level4 » I will be very …

---

## [native.newtextfield and tableview](https://forums.solar2d.com/t/native-newtextfield-and-tableview/150623)

<div class="topic-metadata">

**Author:** [@laurasweet8888](https://forums.solar2d.com/u/laurasweet8888)\
**Replies:** 9\
**Last updated:** [December 9, 2019, 11:35pm UTC](https://forums.solar2d.com/t/native-newtextfield-and-tableview/150623 "2019-12-09T23:35:40Z")

</div>

Hi all, I placed a native.newtextfield in a a tableview widget and placed that widget below my UI header. When I scroll my tableview up my textfield rolls right over my UI. For example: I would expect that the …

---

## [Widget label not showing live data.](https://forums.solar2d.com/t/widget-label-not-showing-live-data/150613)

<div class="topic-metadata">

**Author:** [@judewilson2024](https://forums.solar2d.com/u/judewilson2024)\
**Replies:** 0\
**Last updated:** [December 2, 2019, 4:07am UTC](https://forums.solar2d.com/t/widget-label-not-showing-live-data/150613 "2019-12-02T04:07:59Z")

</div>

Hello, my widget buttons label is not showing live data from user.json. In facto none of my text labels are showing live data. I am making a pen clicking simulator. I have the widget library included it is just not show…

---

## [Game Timer](https://forums.solar2d.com/t/game-timer/150081)

<div class="topic-metadata">

**Author:** [@scuba\_games](https://forums.solar2d.com/u/scuba_games)\
**Replies:** 8\
**Last updated:** [October 3, 2019, 2:22am UTC](https://forums.solar2d.com/t/game-timer/150081 "2019-10-03T02:22:22Z")

</div>

I’d like to make a timer for game play, then have it log to a leaderboard. I can make get minutes and seconds to work, but not milliseconds. Any help would be great \[lua\] local function updateTime( event ) game…

---

## [tableView intercepting button touch events](https://forums.solar2d.com/t/tableview-intercepting-button-touch-events/350394)

<div class="topic-metadata">

**Author:** [@laurasweet8888](https://forums.solar2d.com/u/laurasweet8888)\
**Replies:** 14\
**Last updated:** [September 9, 2019, 5:36pm UTC](https://forums.solar2d.com/t/tableview-intercepting-button-touch-events/350394 "2019-09-09T17:36:15Z")

</div>

I am trying to implement a list of things shown using tableview with a plus button at the bottom to add a new item. Something every app has these days. But my touch events for my plus button keep getting overwritten by…

---

## [Is there listview / listbox / combobox widgets ?](https://forums.solar2d.com/t/is-there-listview-listbox-combobox-widgets/350236)

<div class="topic-metadata">

**Author:** [@teterinis](https://forums.solar2d.com/u/teterinis)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 2:07pm UTC](https://forums.solar2d.com/t/is-there-listview-listbox-combobox-widgets/350236 "2019-07-29T14:07:23Z")

</div>

Try to find listview analog widgets… nothing found. Is there listview / listbox / combobox widgets ?

[Next page](https://forums.solar2d.com/c/solar2d/widgets/66.md?page=1)
