Jump to content

Recommended Posts

  • 4 months later...
Posted

Bootstrap theme in UniGui Howto:

 

** This has only had 10sec of testing **

 

1) Unzip the 'bootstrap-unigui-ready.zip' file, it contains a css and ext-theme-bootstrap folder

2) Copy the css contents into your c:\program files (x86)\fmsoft\Framework\uniGui\ext-4.2.2.11144\resource\css' folder.

3) Copy the ext-theme-bootstrap folder into your 'c:\program files (x86)\fmsoft\Framework\uniGui\ext-4.2.2.11144\resource' folder

4) Select your 'MainModule' and type 'bootstrap into the Theme field.

 

That should be it (when you deploy you will need to copy the css & ext-theme-bootstrap folders.)

 

No warranty. A button/checkbox/page control appear to have the new look.

 

 

 

 

 

post-14-0-88359400-1412229188_thumb.png

bootstrap-unigui-ready.zip

post-14-0-92563100-1412229248_thumb.png

  • Upvote 3
  • 3 months later...
Posted

Hi, I'm testing Bootstrap and it look very good the only problem is with the Checkbox in the DbGrid.

The Check box disappear but when as change back to blue theme the Check box appear normal.

Any Idea or Suggestions ?

Thanks

Posted

1) Unzip the 'bootstrap-unigui-ready.zip' file, it contains a css and ext-theme-bootstrap folder

2) Copy the css contents into your c:\program files (x86)\fmsoft\Framework\uniGui\ext-4.2.2.11144\resource\css' folder.

3) Copy the ext-theme-bootstrap folder into your 'c:\program files (x86)\fmsoft\Framework\uniGui\ext-4.2.2.11144\resource' folder

4) Select your 'MainModule' and type 'bootstrap into the Theme field.

 

 

looks great. Two things in my application where the bootstrap theme does not show elements like expected: 

 

1. navigation buttons in grids:

 

post-254-0-10937200-1422618172_thumb.jpg

 

2. unispeedbutton:

 

post-254-0-02409600-1422618187_thumb.jpg

 

The unispeedbutton can be replaced with another control, but any suggestion for the grid navigation buttons?

 

brfc

  • 1 year later...
  • 3 months later...
Posted
Help me!

Based on extjs-theme-bootstrap-master.zip file

 

- I copied the file: ext-all-bootstrap.css for CSS folder to ext-4.2.5.1763 \ resources \ css.

- I copied all the ext-theme-ext-bootstrap folder to 4.2.5.1763 \ resources

 

However the thema not appear in MainModule \ Theme.

 

What should I do yet?

Posted

It's not suppose to show up in object inspector. You just write theme name to object inspector in main module -> theme property.

  • 2 months later...
Posted

Or if you´re using the samples to get started.

procedure TMainForm.GetThemes;
var
  S : TUniStringArray;
  I : Integer;
begin
  S := UniServerModule.ThemeManager.AllThemes;

  ThemeComboBox.Items.Clear;
  for I := Low(S) to High(S) do
    ThemeComboBox.Items.Add(S);

    //add custom themes

    ThemeComboBox.Items.Add('bootstrap');

end;

  • 10 months later...
Posted
 

To change the theme, just assign it in the onchange event of the combobox? I have the following code but this does not make the change.



procedure TMainForm.ThemeComboBoxChange(Sender: TObject);
begin
UniMainModule.Theme:=ThemeComboBox.Text;
end;

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...