|
|
Home » Developing U++ » UppHub » MessageCtrl: A passive notifications ctrl and manager. (A a usefule CtrlLib add-on.)
Re: Message: A passive notifications ctrl and manager. [message #49499 is a reply to message #49496] |
Mon, 19 February 2018 15:01 |
Oblivion
Messages: 1091 Registered: August 2007
|
Senior Contributor |
|
|
Hello Klugier,
Unfortunately, the highlight glitch doesn't seem to stem from my code.
It can be replicated as in the below code:
include <CtrlLib/CtrlLib.h>
using namespace Upp;
class RichTextTest : public TopWindow {
FrameTop<RichTextCtrl> qtf;
Button bt;
public:
RichTextTest()
{
SetRect(0, 0, 640, 480);
Sizeable().Zoomable().CenterScreen();
Add(bt.RightPos(4).BottomPos(4));
bt << [=] {
String z = "Hello World!";
qtf.VCenter(); // Comment out this line, and highlighting works.
qtf.SetQTF("[G1 " << z);
qtf.Height(40); // As the height increases, highlighting becomes impossible.
// This problem doesn't arise with wrapped (Line > 1) text
qtf.SetFrame(FieldFrame());
AddFrame(qtf);
};
}
};
GUI_APP_MAIN
{
RichTextTest().Run();
}
Maybe the glitch is in the RichTextEdit's text centering method?
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Mon, 19 February 2018 15:03] Report message to a moderator
|
|
|
|
|
MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Sun, 18 February 2018 19:21
|
|
|
Re: Notification: A passive notifications ctrl and manager.
By: Klugier on Sun, 18 February 2018 20:58
|
|
|
Re: Notification: A passive notifications ctrl and manager.
By: Klugier on Sun, 18 February 2018 21:28
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Oblivion on Mon, 19 February 2018 01:10
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Oblivion on Mon, 19 February 2018 15:01
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Klugier on Mon, 19 February 2018 22:12
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Oblivion on Mon, 19 February 2018 22:35
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Oblivion on Tue, 20 February 2018 17:46
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Klugier on Wed, 21 February 2018 00:02
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Oblivion on Wed, 21 February 2018 00:25
|
|
|
Re: Message: A passive notifications ctrl and manager.
By: Oblivion on Wed, 21 February 2018 20:18
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Fri, 02 March 2018 01:45
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Sun, 04 March 2018 08:33
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Sun, 04 March 2018 10:40
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Sun, 04 March 2018 12:35
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Sun, 04 March 2018 13:10
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Sun, 04 March 2018 16:56
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Sun, 04 March 2018 21:05
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Sun, 04 March 2018 23:38
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Sun, 11 March 2018 12:03
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Sun, 11 March 2018 12:32
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Mon, 12 March 2018 08:24
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Mon, 12 March 2018 09:58
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Mon, 12 March 2018 11:34
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Fri, 06 April 2018 23:10
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Fri, 05 April 2019 14:50
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Sun, 25 August 2019 23:03
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Mon, 26 August 2019 01:30
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: forlano on Mon, 26 August 2019 08:56
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Tue, 02 February 2021 22:07
|
|
|
Re: MessageCtrl: A passive notifications ctrl and manager.
By: Oblivion on Sat, 21 January 2023 09:19
|
Goto Forum:
Current Time: Thu Mar 28 20:38:40 CET 2024
Total time taken to generate the page: 0.01033 seconds
|
|
|