Browse Source

* Set selection color

Michaël Van Canneyt 3 months ago
parent
commit
1bf6936270
1 changed files with 2 additions and 2 deletions
  1. 2 2
      demo/Edit/mainunit.pp

+ 2 - 2
demo/Edit/mainunit.pp

@@ -51,8 +51,8 @@ begin
     '  padding: 3px; '+
     '  padding: 3px; '+
     '  border: 2px solid black; '+
     '  border: 2px solid black; '+
     '  margin: 6px;'+
     '  margin: 6px;'+
-    '}';
-
+    '}'+sLineBreak+
+    'input::selection { color: red; background-color: white } ' ;
   Body1:=TBody.Create(Self);
   Body1:=TBody.Create(Self);
   Body1.Parent:=Self;
   Body1.Parent:=Self;
   Body1.Style:='border: 2px solid blue;'#10;
   Body1.Style:='border: 2px solid blue;'#10;