Jump to content

newsanti

uniGUI Subscriber
  • Posts

    323
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by newsanti

  1. How to set height to 2 px of TuniStringGrid Column?
  2. Show Only Bottom borderLine of TUniPanel with gray color to separate section.
  3. Property: Height = 1 is not 1px. (Cl) object dtpfUniM0001CardFrame104: TdtpfUniM0001CardFrame104 AlignWithMargins = True Left = 0 Top = 0 Width = 480 Height = 350 Margins.Left = 5 Margins.Top = 5 Margins.Right = 5 Margins.Bottom = 20 Layout = 'vbox' LayoutConfig.Padding = '15' ParentAlignmentControl = False AlignmentControl = uniAlignmentClient Color = clWhite Font.Name = 'Noto Serif Thai' TabOrder = 0 ParentColor = False ParentBackground = False Background.Fit = True object Panel_LEFT: TUniContainerPanel Left = 0 Top = 0 Width = 150 Height = 350 Hint = '' ParentColor = False Align = alLeft TabOrder = 0 object Panel_TITLE: TUniPanel Left = 0 Top = 0 Width = 150 Height = 100 Hint = '' Constraints.MinHeight = 100 Align = alTop TabOrder = 1 BorderStyle = ubsNone ShowCaption = False Background.Fit = True Caption = 'Panel_TITLE' Color = 13001472 LayoutConfig.Width = '100%' LayoutConfig.Region = 'north' end end object Panel_EDGE: TUniPanel Left = 156 Top = 11 Width = 300 Height = 323 Hint = '' TabOrder = 1 BorderStyle = ubsNone Caption = 'Panel_EDGE' Color = clWhite LayoutConfig.Flex = 2 LayoutConfig.Height = '100%' LayoutConfig.Width = '100%' LayoutConfig.Region = 'north' object Label_HEADER: TUniLabel Left = 10 Top = 5 Width = 144 Height = 30 Hint = '' Constraints.MaxWidth = 290 Caption = 'Label_HEADER' ParentFont = False Font.Height = -19 Font.Name = 'Noto Serif Thai' Font.Style = [fsBold] TabOrder = 1 LayoutConfig.Flex = 3 LayoutConfig.BodyPadding = '0 0 20 0' LayoutConfig.Width = '100%' LayoutConfig.Region = 'north' end object Label_BODY: TUniLabel Left = 10 Top = 112 Width = 88 Height = 22 Hint = '' Constraints.MaxWidth = 290 AutoSize = False Caption = 'Label_BODY' ParentFont = False Font.Height = -15 Font.Name = 'Noto Serif Thai' TabOrder = 2 LayoutConfig.Flex = 3 LayoutConfig.BodyPadding = '10 0 10 0' LayoutConfig.Width = '100%' LayoutConfig.Region = 'north' end end object UniCanvas1: TUniCanvas Left = 0 Top = 348 Width = 400 Height = 1 Hint = '' Pen.Color = clRed Color = clRed PaintMode = pmLine LayoutConfig.Width = '100%' LayoutConfig.Region = 'south' end end
  4. oList.Add('.customGrid .x-grid-td {'); oList.Add(' line-height: normal;'); oList.Add(' vertical-align: middle;'); oList.Add('}'); oList.Add('.customGrid .x-column-header {'); oList.Add(' line-height: 1px;'); oList.Add('}');
  5. How to chage column header Height at run-time? Column Height = 5px ,Apply with Fixed Row.
  6. oGrid.ShowColumnTitles:= True; I have a problem with Column Header Font, But can resize a column.
  7. if column header is not visible can not resize a column.
  8. I can use fixed (first) row as a column header but can not resize column width.
  9. I want to use TuniStringGrid to Column with sort. But uniStringGrid without Column.OnClick.
  10. How to generate Column.OnClick of TuniStringGrid?
  11. TuniHTMLMEMO Run-Time font is not same as Design font.
  12. http://www.unigui.com/doc/online_help/sharing-resources-in-a-multi-s.htm
  13. --------------------------------------- var S:= oImageList.GetImagePngUrl(oIndex.AsInteger); oFrame.Background.Url:= S; -------------------------------------- Frame Client Background not change.
  14. procedure TMainForm.UniTimer1Timer(Sender: TObject); begin var oPanel:= UniContainerPanel1; oPanel.JSInterface.JSCode( 'var container='#1';'+ 'if (container.getScrollable().getScrollElement().getScrollLeft() == 0) {delta=1};'+ 'if (container.getScrollable().getScrollElement().getScrollLeft()+container.width+20'+ ' >= container.getScrollable().getScrollElement().dom.scrollWidth) {delta=-1};'+ 'container.getScrollable().scrollBy(100*delta,0,true);' ) end; +20 is work!
  15. procedure TMainForm.UniTimer1Timer(Sender: TObject); begin var oPanel:= UniContainerPanel1; UniContainerPanel1.JSInterface.JSCall('getScrollable().scrollBy', [50, 0]); end; How to Check..Left / Right Positon to Reverse Scroll?
×
×
  • Create New...