Jump to content

Czar

Members
  • Content Count

    445
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Czar

  1. Czar

    window component

    Looks nice, unsure what I would use it for at the moment but good to see if here. You are undoubtedly aware that if mouse comes off the window the dragging stops.
  2. Czar

    reCaptcha

    Yes, without the backend check it is nothing. I am only putting it on our page becuase of one person's concerns about spammers
  3. Czar

    reCaptcha

    Well you made that look easy Works without a hitch,
  4. Czar

    reCaptcha

    I will check this out when I get home
  5. Czar

    reCaptcha

    I am trying to implement a "i am not a robot" into my website Basic HTML/JS looks like the following with a second step required to validate it server side. <script src="https://www.google.com/recaptcha/api.js"></script> HTML: <div class="g-recaptcha" data-sitekey="YOUR_KEY" data-callback="correctCaptcha"></div> JS: var correctCaptcha = function(response) { alert(response); }; I thought I could manage getting it to wok in SMS but I got very lost. I couldn't find examples that seemed to be a parallel challenge. It would b
  6. Czar

    UI layout

    Loving the update. Only had a little play but it seems to be working as expected
  7. If it was possible to not break existing code then I would not be against it. I don't convert much delphi code so I don't see it as important from that point of view. It might make it more delphi friendly perhaps, making transition easier for people. I think what catches out more delphi users is that expected properties of components aren't there, something as simple as changing the form colour is not obvious. The paradigm shift is quite steep if you aren't used to working with CSS and HTML etc (which I am not) so it takes a little bit of adjustment.
  8. Czar

    UI layout

    Being able to make more complex UI that works on all devices will make life much much easier Looking forward to finished product.
  9. I like the lighter default theme for buttons. Thanks for the update.
  10. Czar

    RTL Search

    I use this external program. Just add .pas to search options. It is very quick and it is only way that I can search through rtl and projects. http://www.harddisksearch.com/
  11. Czar

    css styling

    Aha. Ok I now understand. I will take a closer look on monday as this approach does sound promising
  12. Czar

    css styling

    I really not sure what I supposed to see. Here is a screen recording
  13. Czar

    css styling

    Hi, I might be missing the point - I click on tailwind one and see "oh" in a dialog. I click on tailwind 2 and nothing happens, no visual change. checked firefox and chrome
  14. I too would love to see a roadmap plan for the next 12 months. The efforts have been going into special projects that not many people will probably have a use for and the bread-and-butter has been left at a usable but not great state. For example, the IDE could do with love. The fact that the visual components don't surface basics like font size/colour etc and requires work arounds and non-intuitive knowledge suggests low hanging fruit for improvements. The ide has lots of bugs and irritating issues. for example events on buttons will often be reoved or doubled up. e.g., OnSubmitClick for butt
  15. It would be awesome if we had a few more CSS options/themes available. I find it difficult to come up with a consistent style that varies from the ones provided. Maybe we could create a bounty to encourage someone to develop some themes?
  16. Hi @jarto, I have tried all the permutations, autosize on/off and wordwrap on/off and the label doesn't behave nicely. With a label and Tlayout, I would have thought that the layout determines the width of the label and the label's content would determine the height if wordwrap is true. As a normal label (not using tlayout), if autosize is false and Wordwrap:=true then the the height of the label should increase within the provided width so that the content fits.
  17. Any progression on this? It really is a problem with a basic component
  18. @warleyalex thanks for the project. I tried it on my own project and it didn't work as expected. I figure dout that if the caption is set in onactivate then the resize does not change the height of the label correctly. procedure TForm1.Form1Activate(Sender: TObject); begin Label1.Caption := '<b>Today''s date '+FormatDateTime('dddd d of mmmm yyyy', now) +'</b><br>Here are your upcoming booked sessions. Please select the sessions your children will be absent for:<br>MOre writing.'; Label2.Caption := Label1.Caption; end; Then you end up with the image
  19. Hi, Ok I will zip manually - I used "zip entire project" from file menu - so that function is not working correctly anymore. testlabel.zip
  20. I am having a number of issues with w3labels and correct wrapping of text. 1. When using a layout wordwrap is not obeyed- text disappears off to the side. 2. Wordwrap does work correctly in a normal non-layout formatted label - chopping off text top and bottom Changing wordwrap and autosize properties does not solve the issues. You can see in the picture the layout version along the top (above the button) and a normal label not in the layout below the button. In the top label the sentence is cut off at ... the sessions your children will be absent for:" (in italics
  21. Czar

    restrict width of page?

    Thanks that worked ok - except it would offset the form when the form was reactivated. So instead I used the following in resize and that seems to work in my project which has 3 forms. procedure CentreForm(f : TW3Form); const scrwdth = 600; begin if f.ClientWidth> scrwdth then begin var p := (f.ClientWidth - scrwdth) div 2; p := round((p / scrwdth) * 100); f.Handle.style['max-width'] := inttostr(scrwdth)+'px'; f.Handle.style['left'] := '50%'; f.Handle.style['transform'] := 'translateX('+inttostr(p)+'%)'; end; end;
  22. I am using a Tlayout to layout my UI. However, if the browser is on a very wide screen it stretches out to the width of the screen. I see two easy options. Restrict the width of the whole page (preferred) But I couldn't get that to work, I tried the following in the template <style> .content { max-width: 100px; margin: auto; } <body><?pas=Compiler.LinkedScriptTag?><div class="content"> <!-- Page content --> </div></body> The other easy option would be to set a maxwidth for the layout - but I couldn't get that to work eit
  23. Czar

    UI layout

    Yes I am hoping that a more robust and intuitive solution is made available. I have it sorted for my current project but it took quite a while to get it right, much much longer than it should have.
×
×
  • Create New...