Search found 249 matches

by standay
Wed Nov 26, 2025 3:06 pm
Forum: Support
Topic: Google Material Symbols and Icons
Replies: 2
Views: 347

Re: Google Material Symbols and Icons


Currently, the sizes are hard-coded in RVAIcons.pas:
const
HugeIconSize = 96;
LargeIconSize = 48;
MediumIconSize = 32;
SmallIconSize = 24;

These sizes correspond to smallest image sizes available in the image collection.
You can change them to smaller values, but images will be created from ...
by standay
Wed Nov 26, 2025 2:28 pm
Forum: Support
Topic: Google Material Symbols and Icons
Replies: 2
Views: 347

Google Material Symbols and Icons

Hi Sergey,

I tried the Google Material Symbols and Icons in my rv actions, I like them but they display a bit bigger than I'd like with a default dialog. Is there any way to set the size of those icons?

Thanks Sergey

Stan
by standay
Sun Sep 14, 2025 5:22 pm
Forum: Support
Topic: DefaultMargin
Replies: 7
Views: 75835

Re: DefaultMargin

Great, that sounds likt it should work. Thanks Sergey

Stan
by standay
Sat Sep 06, 2025 12:58 pm
Forum: Support
Topic: DefaultMargin
Replies: 7
Views: 75835

Re: DefaultMargin

Well, while painting line numbers in the rve directly looked good and was easiest to do, changing the rve left margin was just too squirrely. I went with a panel that I subclassed to expose its canvas and added an onpaint method. This worked as well.

Stan
by standay
Fri Sep 05, 2025 7:28 pm
Forum: Support
Topic: DefaultMargin
Replies: 7
Views: 75835

Re: DefaultMargin


If you want to override default settings of RVAControlPanel, make your changes in rvActionNew.OnNew event.

Sergey, yes, that worked. I'm working on switching my line number code from a component to code that paints directly to the rve canvas (I had to widen the leftmargin to do it). I've got it ...
by standay
Thu Sep 04, 2025 8:59 am
Forum: Support
Topic: DefaultMargin
Replies: 7
Views: 75835

Re: DefaultMargin

Thanks Sergey, I'll try that.

Stan
by standay
Wed Sep 03, 2025 9:58 pm
Forum: Support
Topic: DefaultMargin
Replies: 7
Views: 75835

Re: DefaultMargin

Sergey,

Looks like it's not the presence controlpanel. I put one in my small test app and it was fine. In my "real" app there's a lot of code and I had to fine the right place to put rve.LeftMargin := 85 and it's OK.

Just FYI.

Stan
by standay
Wed Sep 03, 2025 9:00 pm
Forum: Support
Topic: DefaultMargin
Replies: 7
Views: 75835

DefaultMargin

Sergey,

I am trying to set a different left margin in a regular rve. I have to have a controlpanel for other things, but the defaultmargin is stomping all over my leftmargin setting. I've tried all this and nothing works, all I get is whatever the defaultmargin is set to:

rveControlPanel ...
by standay
Thu Aug 21, 2025 3:08 pm
Forum: Support
Topic: A better way to control spacing?
Replies: 7
Views: 106459

Re: A better way to control spacing?

ozznixon wrote: Thu Aug 21, 2025 2:55 am I took your suggestion - and in Paragraphs -> Tabs, leader (......) but it is still coming out a little staggered.
Try 2 right-aligned tabs. First one with the leader (...) and second blank one. Play with the positioning and you might be able to make it work.

Stan
by standay
Thu Jul 17, 2025 9:05 pm
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 358014

Re: Bad RTF table causing RichView to error

Sergey may have a better idea, but here's mine.

I'm not entirely sure what all the vars are that are in play, but maybe change this:

for i:=maxIndex downto minIndex do begin //JGK was CurItem+reader.ItemCount-ItemCount+1 do begin
// Double-check bounds before accessing
if (i < 0) or (i ...
by standay
Thu Jul 17, 2025 10:49 am
Forum: Support
Topic: Linux Wordwrap
Replies: 2
Views: 69214

Re: Linux Wordwrap

Sergey,

I'm trying to run a windows app using wine on linux mint. The text in any paragraph would not wordwrap correctly.

I tried assigning RVStyle.TextEngine = rvteWindows, and yes, that fixes it. The usp10.dll exists in my wine windows system32 folder so not sure why it doesn't work as is.

I ...
by standay
Thu Jul 17, 2025 8:59 am
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 358014

Re: Bad RTF table causing RichView to error

You might check that i <> -1, and i <= reader.itemcount-1.

Stan
by standay
Wed Jul 16, 2025 8:54 pm
Forum: Support
Topic: Linux Wordwrap
Replies: 2
Views: 69214

Linux Wordwrap

Sergey,

Is there something I need to do to get a regular rve to wordwrap when run in linux wine? I'm using linux mint 21.2 in a virtualbox VM. Could the VM or its settings be the issue?

Thanks

Stan
by standay
Sun Jul 06, 2025 12:13 pm
Forum: Support
Topic: Always Show Scrollbars
Replies: 0
Views: 95016

Always Show Scrollbars

Sergey,

There's a win11 setting called "Always Show Scrollbars." If this is turned off (the default for win11 I think), the scrollbar thumbs show up when you mouse over the scrollbar. If it's on, the thumbs are always visible.

The rve scrollbars do not seem to respond to this setting and seem to ...
by standay
Tue Jun 17, 2025 10:39 am
Forum: Support
Topic: Tab Key Behavior with Bulleted Lists in TRichViewEdit
Replies: 1
Views: 62990

Re: Tab Key Behavior with Bulleted Lists in TRichViewEdit

I use the TrvActionIndentDec (action for "Decrease Indent" command) and TrvActionIndentInc (action for "Increase Indent" command) actions. I have those assigned to some toolbar buttons.

I also put this into the rveKeyPress event so I can select some text and move it in or out using tab/shift+tab ...