Jump to content

rgreat

uniGUI Subscriber
  • Posts

    421
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by rgreat

  1. I wish we had full source code. I could already fix these bugs myself.
  2. I don't think issue is ExtJS based. More like some core UniGUI code for server side alingment/sizing works diffrerent in linux. Where would not be any difference in number of GetEffectiveHeight events fired otherwise.
  3. Please fix. Base functionality is broken.
  4. rgreat

    Earthquake!!

    My condolences. And I wish your country and people will emerge from this tragedy with as little losses as possible. Stay strong, and may the god protect you.
  5. Same project. Same browser. But UniPanels have different heights when generated by linux or windows standalone hosts, and some bottom controls even disappear from view. Seems that that's depends on TitleVisible = True property. Server on Windows: Server on linux: Numbers in title are generated by code hook in uniPanel.pas: function TUniCustomPanel.GetEffectiveHeight: Integer; var BH : Integer; begin Result := inherited GetEffectiveHeight; Result := Result - (GetBorderWidth * 2); if FTitleVisible or FCollapsible then case FTitlePostion of tpTop, tpBottom: begin BH := UniSession.CurrentTheme.PanelBandHeight; Result := Result - BH; if Pos(Name,Title)=0 then Title:=Name; Title:=Title+' '+Result.ToString; // <------- end end; end; Why I have extra GetEffectiveHeight calls and numbers are different and incorrect on Linux? Also: right margins are different too. By a few pixels, but still not good.
  6. Well, that's kind of walk around approach, but thanks for idea. I was hoping for a more conventional approach.
  7. A bit more universal approach. Still not perfect, though. if HTTPSRedirect then begin var Port1:=''; var Port2:=''; if Port<>80 then Port1:=':'+Port.ToString; if SSL.SSLPort<>443 then Port2:=':'+SSL.SSLPort.ToString; var s:=''; if (Port1<>'') or (Port2<>'') then begin s:=' if (loc.indexOf('''+Port1+'''+''/'')>0){'#13#10+ ' loc = loc.replace('''+Port1+'''+''/'','''+Port2+'''+''/'');'#13#10+ ' }'#13#10; end; s:='<script language="JavaScript">'#13#10+ 'function redirectHttpToHttps()'#13#10+ '{'#13#10+ ' var loc = window.location.href+'''';'#13#10+ ' if (loc.indexOf(''http://'')==0){'#13#10+ ' loc = loc.replace(''http://'',''https://'');'#13#10+ s+ ' window.location.href = loc;'#13#10+ ' }'#13#10+ '}'#13#10+ 'redirectHttpToHttps();'#13#10+ '</script>'; CustomMeta.Text:=s; end;
  8. Yes, it worked. Thank you. Seems like OpenSSL lib was already installed in my system.
  9. UniGUI App is hosted at 127.0.0.1:5000 Need to be accessed through to http://127.0.0.1:80/UniGUI/ Same thing with https: UniGUI App is hosted at 127.0.0.1:5000 Need to be accessed through to https://127.0.0.1:443/UniGUI/ Is this possible? HyperServer is not an option as ports are already taken.
  10. Stand alone self-host application. Documentation is missing on this one. Please update.
  11. Nope. Setting UniDBGrid.RowHeight:=5 does not change grid at all. Maybe that's because I have some text in hidden column. But I can't change that text since it is used for row grouping.
  12. The paintbrush is my friend. This is the desired result. More or less. And if that could be done without adding extra data rows - I would be happy. I imagine something could be done without extra rows, with cell CSS above or below the delimiter, but I'm afraid it would compromise something.
  13. I want to draw something like this: I have this (work in progress): I need to create delimiters between data row groups. I know, usually you can use Grouping or cell coloring for that, but not in my case, as both of these are already used, and I still need to create extra delimiters between rows inside one conventional row group. On screenshot above I have grey empty rows acting as delimiters, but these are too thick to look good.
  14. One row, not all of them. Edit: Also, setting UniDBGrid.RowHeight:=5 does not change grid at all.
  15. I read posts with solutions which make individual row height larger, but how to make it smaller? Altering cell fonts does not help.
×
×
  • Create New...