Posts

android - Title is not showing in the ActionBar only the logo is showing (Have tried many solutions) -

in app, changed styles , actionbar got disappeared. have used these lines brought actionbar , icon : getsupportactionbar().setdisplayshowhomeenabled(true); getsupportactionbar().setlogo(r.drawable.ic_launcher); getsupportactionbar().setdisplayuselogoenabled(true); but still title of app not shown actionbar. hare style.xml file : <style name="theme.brintin" parent="@style/theme.appcompat.light.darkactionbar"> <item name="actionbaritembackground">@drawable/selectable_background_brintin</item> <item name="popupmenustyle">@style/popupmenu.brintin</item> <item name="dropdownlistviewstyle">@style/dropdownlistview.brintin</item> <item name="actionbartabstyle">@style/actionbartabstyle.brintin</item> <item name="actiondropdownstyle">@style/dropdownnav.brintin</item> <item name="actionbarstyle">@sty...

Issues installing SCIP for Python -

i trying install scip optimization suite python 2.7 ( http://scip.zib.de/#download ) on windows machine. when run setup_win.py , link error: fatal error lnk1181: cannot open input file 'spx.lib'. not, sure have make work. it looks might missing scip binaries, distributed separately source package in python binding (with setup_win.py) live. should too. reading setup_win.py should give insight spx.lib supposed be.

angularjs - How can I tell whether a web app was built using Angular? -

Image
how can tell whether (drupal 7) web app built using angular, e.g., looking @ page source, , not asking developers? the best way check write "angular" on browser console. if object [with child objects "bind","bootstrap","callbacks","module" etc.] angular web app.

html - Sticking two div simultaneously to window top using jquery -

i know topic has been discussed here before facing difficulties 1 of problems solved. want stick 2 div(s) top @ same time. (e.g: when layer2 sticks top, want layer 2 stick top different height , width) trying stick 1 div not working. html <div id="layer1"></div> <div id="sticky-anchor"></div> <div id="layer2"></div> <div id="layer3"></div> js jquery(document).ready(function($){ $(window).scroll(sticky_relocate); sticky_relocate(); }); function sticky_relocate(){ var s=$('#layer2'); var pos = s.position(); var window_top = $(window).scrolltop(); var div_top = $('#sticky-anchor').offset().top; s.html("distance top:" + pos.top + "<br />scroll position: " + window_top); if(window_top>div_top){ s.addclass('stick'); } else{ s.removeclass(); } } css #la...

xcode - How to Fix Error: Incompatible Pointer Types Assigning to -

let me preface saying i'm new might not best @ asking questions here goes. getting error when hit build in xcode code. -(ibaction)unwindtorecipedetails:(uistoryboardsegue*)segue { changerecipedetailviewcontroller *source = [segue sourceviewcontroller]; recipelabel = source.textview; // error: incompatible pointer types assigning uilabel uitextfield } here's i'm trying do. based code off of snippet works... -(ibaction)unwindtorecipebook:(uistoryboardsegue *)segue; { addrecipeviewcontroller *source = [segue sourceviewcontroller]; recipeitem *item = source.recipeitem; } this supposed make addrecipeviewcontroller data source initial recipebook page when user navigates backward. i'm trying implement same thing when user navigates backward changerecipe page recipedetails page. apparently mixed 2 different types of code in error, uilabel , uitextfield. incompatible change either 1 in order make work. little different basing code off of in don...

jquery - Bootstrap Data Attributes with Bootstrap Tour Plugin -

i'm newer bootstrap , i've started using plugin called bootstrap tour. http://bootstraptour.com/ i started learning data-attributes today, , i'm wondering if can/should use them bootstrap tour. bootstrap tour combo of included popover , tooltip plugins. for instance, tours have steps, , steps have attributes can set when initiating tour. i'm trying able set placement, title, , content html element. var tour = new tour(); tour.addsteps([ { element: ".completed-range", title: "", content: "" }, { element: ".fph-row h1", placement: 100, title: "welcome <b>" + sectiontitle +"</b> tour!" , content: "proceed discover section's features." } ]); the above code creates tour 2 steps. first step targets element class "completed-range." html, i'd set placement, title, , content appears in step's popover/tooltip. this: <div c...

label - Vaadin layout break line without panel -

Image
i know possible labels automatically break lines when in panel. there way have labels break lines when text on layouts width? update ok tried "800px" width instead of "100%" , labels having line breaks. whats reason behaviour? , how can workaround percentual sizing of layouts important page? it looks in image below, text cut off. extracted code showing setup: verticallayout labellayout= new verticallayout(); labellayout.setwidth("100%"); labellayout.addcomponent(usernamelabel); labellayout.addcomponent(postlabel); labellayout.addcomponent(ratiolabel); labellayout.addcomponent(lowestratedpost); labellayout.addcomponent(highestratedpost); detailslayer.addcomponent(labellayout); wrappercontent.addcomponent(detailslayer); wrapper.addcomponent(wrappercontent); i had problem, , managed solve using css. vaadin labels have css attribure white-space: nowrap stoping text wrapping expect to. .v-la...