Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » scrollbar missing for LineEdit [FIXED]
scrollbar missing for LineEdit [FIXED] [message #664] |
Tue, 24 January 2006 10:09 |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
When the text of the lineedit is modified programatically, the scrollbar is not displayed even if the text is longer than the horizontal size. In this example, try to enter a long text in the upper LineEdit. The lower lineedit should get a scollbar the same time as the upper one, as their contents are kept the same.
#include <CtrlLib/CtrlLib.h>
class Test : public TopWindow
{
public:
LineEdit a, b;
Splitter s;
void aChanged() { b <<= ~a; }
Test()
{
a <<= THISBACK(aChanged);
Add(s.Vert(a, b).SizePos());
Zoomable().Sizeable();
}
typedef Test CLASSNAME;
};
GUI_APP_MAIN
{
Test().Run();
}
[Updated on: Sun, 30 April 2006 16:41] by Moderator Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Mon Apr 29 02:39:08 CEST 2024
Total time taken to generate the page: 0.04953 seconds
|