jahlxx Posted April 26, 2018 Share Posted April 26, 2018 Hi. How can I add more space between buttons in action column of dbgrid? Using version 1.10.0.1452 Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2018 Share Posted April 26, 2018 Hi, How can I add more space between buttons in action column of dbgrid? One possible solution by using custom CSS: UniServerModule -> CustomCSS: .x-action-col-icon { margin-right: 25px; } Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 26, 2018 Author Share Posted April 26, 2018 great!! thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 26, 2018 Author Share Posted April 26, 2018 where are iconcls images stored? can I add more? thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2018 Share Posted April 26, 2018 You can use UniNativeImageList: UniNativeImageList: 1. AddIconCls, select FontFamily (Pictos or FontAwesome) Pictos - https://docs.sencha.com/extjs/6.5.3/guides/core_concepts/font_ext.html#core_concepts-_-font_ext_-_pictos_font_package FontAwesome - https://fontawesome.com/v4.7.0/icons/ 2. Enter manually IconName to IconClsCombo, for example: handshake-o (FontAwesome) UniGridActionButtons: for example for second action button - TUniGridActionButton-1 -> ImageIndex = index of the new added icon (UniNativeImageList) Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 26, 2018 Author Share Posted April 26, 2018 ok. thanks. one more thing. as I can see, I can add iconcls without having it in a imagelist. for example, I add an action column, a button and set iconcls to box (for example) when exec the app, the icon box appears in action column. I have some questions about this: 1. I can have these icons, without downloading them. is this a good practice? or is a risk? 2. how can I do the same with fontawesome? 3. wich of both options are better? thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 24, 2018 Author Share Posted May 24, 2018 Hi. Pictos and / or FontAwesome are only availables when are connected to internet? I mean, if I have an application running in a server in a LAN, but don't want the server connected to internet, the icons will be shown? Or the server must have an internet connection available? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2018 Share Posted May 24, 2018 Hi, Pictos and / or FontAwesome are only availables when are connected to internet? No I mean, id I have an application running in a server in a LAN, but don't want the server connected to internet, the icons will be shown? Yes Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2018 Share Posted May 24, 2018 They are included in the framework \FMSoft\Framework\uniGUI\ext-6.5.3\build\... Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 24, 2018 Author Share Posted May 24, 2018 Then, someway, the icons must be incrusted in somehwre in the applicaction, isn't it? If yes, why can't I see the icons of toolbuttons in design time? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2018 Share Posted May 24, 2018 Yes, I think this can be done by adding these iconic fonts to the Delphi IDE Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 24, 2018 Author Share Posted May 24, 2018 Yes, I think this can be done by adding these iconic fonts to the Delphi IDE This is foe seeing icons in buttons in design time? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2018 Share Posted May 24, 2018 I guess yes... Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 24, 2018 Author Share Posted May 24, 2018 Thnks. I don't know how to do it. One more thing. Wich option is better? Fontawesome? Sencha Icons? Thx. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 24, 2018 Administrators Share Posted May 24, 2018 Font awesome has many more icons. Sent from my SM-N950F using Tapatalk Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 3, 2019 Author Share Posted September 3, 2019 On 5/24/2018 at 6:46 PM, Sherzod said: Yes, I think this can be done by adding these iconic fonts to the Delphi IDE Hi. Some idea about how can I do this? Thanks. Quote Link to comment Share on other sites More sharing options...
SertanSoylu Posted March 24, 2021 Share Posted March 24, 2021 Hi, Can we use another version of fontawesome in uniNativeImageList for example version 5.2.0 ? Quote Link to comment Share on other sites More sharing options...
SertanSoylu Posted March 24, 2021 Share Posted March 24, 2021 I find the solution with adding it into SeverModule. 🙊 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.