Search the Community
Showing results for tags 'editline'.
-
Hi all, I have added a WidgetEditLine in a WidgetMenuBox, it's redered Ok, but the problem is there is no way to set the focus to this widget and make keyboard inputs. It can be reproduced easely by modifying the menubox_02 and the following: MenuBox() { //... menubox.addItem("Third item"); WidgetEditLine edt= new WidgetEditLine(gui, "0"); menubox.setItemWidget(menubox.addItem(NULL),edt); childs.append(edt); menubox.setCallback(GUI_CLICKED,functionid(menubox_clicked_redirector),this,menubox); menubox.setFontRich(1); } Is this the expected behaviour? Should menubox to be configured in another way? Thanks.
-
Hi all, I'm trying to align editline text to the right side of the widget, this is quite convenient if you want show units next to edited value. In addition I want to remove the editline background so placing the text just before the units becomes more necessary. I've tried in several ways without success. Has anyone achieved something similar using default editline widget and the .ui format? Thanks.