mierlp Posted November 5, 2014 Posted November 5, 2014 Hi, Is there a way to set the PageControl background. Now it still has the theme background color but i want to change it. Regards Peter Quote
mhmda Posted November 5, 2014 Posted November 5, 2014 Yes you can: 1. create a custom css class (at srevermodule-->customcss): * here I use a small pattern image and repeat it all over. .grid { background:url('files/images/grid.jpg') repeat fixed; } 2. Add a label on the desired page (0,1,2...) - set align=alClient - Extevents-->added: function added(sender, container, pos, eOpts) { sender.addCls('grid'); } 3. Run it.... Hope this help you 2 Quote
mierlp Posted November 6, 2014 Author Posted November 6, 2014 Hi Mohammad, Thanks for the respons. I followed the steps but it's not working. I just put the white image in the application directory and added this code to background:url('grid.jpg') repeat fixed or when i put the complete path it's also not working or even when i put it into the files directory Is it the location where i pointing to or because i run it as a stand-alone server Regards Peter Quote
Kanat Posted November 7, 2014 Posted November 7, 2014 1. The image I have used is attached below you can download it. 2. Save the image in 'files'->'images' (you have to create the images folder). 3. The 'files' folder is created automatic by unigui (projectfolder\Win32\Debug\files). 4. Try it on label first, and then try it on panel. No Attached Thumbnails files. Plese again load project. Quote
mhmda Posted November 7, 2014 Posted November 7, 2014 Hi, There is image under the "Attached thumbnails" label click on it and download... Quote
mierlp Posted November 7, 2014 Author Posted November 7, 2014 Hi Mohammad, Works great...thanks Quote
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.